Base class for widget style properties.
More...
#include <gtkmm/styleproperty.h>
|
Glib::ustring | get_name () const |
| Returns the name of the style property. More...
|
|
Base class for widget style properties.
This class manages the value type-agnostic bits of style properties.
- Since gtkmm 3.16:
◆ StylePropertyBase()
Gtk::StylePropertyBase::StylePropertyBase |
( |
Gtk::Widget & |
widget, |
|
|
GType |
value_type |
|
) |
| |
|
protected |
Constructs a style property of type value_type for widget.
The property is not registered in Gtk, call install_style_property() in order to do that. The properties are usually installed on the initialization of the first instance of a widget.
◆ ~StylePropertyBase()
Gtk::StylePropertyBase::~StylePropertyBase |
( |
| ) |
|
|
protectednoexcept |
◆ get_name()
Glib::ustring Gtk::StylePropertyBase::get_name |
( |
| ) |
const |
Returns the name of the style property.
◆ get_name_internal()
const char * Gtk::StylePropertyBase::get_name_internal |
( |
| ) |
const |
|
protected |
Returns the name of the style property.
◆ install_style_property()
void Gtk::StylePropertyBase::install_style_property |
( |
GParamSpec * |
param_spec | ) |
|
|
protected |
Installs the style property specified by the given param_spec.
◆ lookup_style_property()
bool Gtk::StylePropertyBase::lookup_style_property |
( |
const Glib::ustring & |
name | ) |
|
|
protected |
Checks if the style property has already been installed.
◆ param_spec_
GParamSpec* Gtk::StylePropertyBase::param_spec_ |
|
protected |
◆ value_type_
GType Gtk::StylePropertyBase::value_type_ |
|
protected |
◆ widget_