gtkmm 3.24.9
|
Base class for widget style properties. More...
#include <gtkmm/styleproperty.h>
Public Member Functions | |
Glib::ustring | get_name () const |
Returns the name of the style property. | |
Protected Member Functions | |
StylePropertyBase (Gtk::Widget &widget, GType value_type) | |
Constructs a style property of type value_type for widget. | |
~StylePropertyBase () noexcept | |
bool | lookup_style_property (const Glib::ustring & name) |
Checks if the style property has already been installed. | |
void | install_style_property (GParamSpec *param_spec) |
Installs the style property specified by the given param_spec. | |
const char * | get_name_internal () const |
Returns the name of the style property. | |
Protected Attributes | |
Gtk::Widget * | widget_ |
GType | value_type_ |
GParamSpec * | param_spec_ |
Base class for widget style properties.
This class manages the value type-agnostic bits of style properties.
|
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.
|
protectednoexcept |
Glib::ustring Gtk::StylePropertyBase::get_name | ( | ) | const |
Returns the name of the style property.
Returns the name of the style property.
|
protected |
Installs the style property specified by the given param_spec.
|
protected |
Checks if the style property has already been installed.
|
protected |
|
protected |
|
protected |