Class: Gtk::StyleProperties
- Inherits:
-
Object
- Object
- Gtk::StyleProperties
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#clear ⇒ nil
Clears all style information from props.
-
#get(state, array) ⇒ nil
Retrieves several style property values from props for a given state.
-
#get_property(property, state, value) ⇒ TrueClass
Gets a style property from props for the given state.
-
#get_valist(state, args) ⇒ nil
Retrieves several style property values from props for a given state.
-
#lookup_color(name) ⇒ Gtk::SymbolicColor
Returns the symbolic color that is mapped to name.
-
#map_color(name, color) ⇒ nil
Maps color so it can be referenced by name.
-
#merge(props_to_merge, replace) ⇒ nil
Merges into props all the style information contained in props_to_merge.
-
#new ⇒ Gtk::StyleProperties
Returns a newly created Gtk::StyleProperties.
-
#set(state, array) ⇒ nil
Sets several style properties on props.
-
#set_property(property, state, value) ⇒ nil
Sets a styling property in props.
-
#set_valist(state, args) ⇒ nil
Sets several style properties on props.
-
#unset_property(property, state) ⇒ nil
Unsets a style property in props.
Instance Method Details
#clear ⇒ nil
Clears all style information from props.
#get(state, array) ⇒ nil
Retrieves several style property values from props for a given state.
#get_property(property, state, value) ⇒ TrueClass
Gets a style property from props for the given state. When done with value, g_value_unset() needs to be called to free any allocated memory.
#get_valist(state, args) ⇒ nil
Retrieves several style property values from props for a given state.
#lookup_color(name) ⇒ Gtk::SymbolicColor
Returns the symbolic color that is mapped to name.
#map_color(name, color) ⇒ nil
Maps color so it can be referenced by name. See gtk_style_properties_lookup_color()
#merge(props_to_merge, replace) ⇒ nil
Merges into props all the style information contained in props_to_merge. If replace is true, the values will be overwritten, if it is false, the older values will prevail.
#new ⇒ Gtk::StyleProperties
Returns a newly created Gtk::StyleProperties
#set(state, array) ⇒ nil
Sets several style properties on props.
#set_property(property, state, value) ⇒ nil
Sets a styling property in props.
#set_valist(state, args) ⇒ nil
Sets several style properties on props.
#unset_property(property, state) ⇒ nil
Unsets a style property in props.