| gtkmm
    3.5.13
    | 
CSS-like styling for widgets, implementing the StyleProvider base class. More...

| Public Member Functions | |
| virtual | ~CssProvider () | 
| GtkCssProvider* | gobj () | 
| Provides access to the underlying C GObject. | |
| const GtkCssProvider* | gobj () const | 
| Provides access to the underlying C GObject. | |
| GtkCssProvider* | gobj_copy () | 
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| Glib::ustring | to_string () const | 
| Convertes the provider into a string representation in CSS format. | |
| bool | load_from_data (const std::string& data) | 
| Loads data into this css provider, making it clear any previously loaded information. | |
| bool | load_from_file (const Glib::RefPtr< const Gio::File >& file) | 
| Loads the data contained in file into css_provider, making it clear any previously loaded information. | |
| bool | load_from_path (const std::string& path) | 
| Loads the data contained in path into css_provider, making it clear any previously loaded information. | |
|  Public Member Functions inherited from Glib::Object | |
| void * | get_data (const QueryQuark &key) | 
| void | set_data (const Quark &key, void *data) | 
| void | set_data (const Quark &key, void *data, DestroyNotify notify) | 
| void | remove_data (const QueryQuark &quark) | 
| void * | steal_data (const QueryQuark &quark) | 
| void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) | 
| void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const | 
| void | set_property (const Glib::ustring &property_name, const PropertyType &value) | 
| void | get_property (const Glib::ustring &property_name, PropertyType &value) const | 
| void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) | 
| sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) | 
| void | freeze_notify () | 
| void | thaw_notify () | 
| virtual void | reference () const | 
| virtual void | unreference () const | 
| GObject * | gobj_copy () const | 
| Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) | 
|  Public Member Functions inherited from Gtk::StyleProvider | |
| virtual | ~StyleProvider () | 
|  Public Member Functions inherited from Glib::Interface | |
| Interface (const Glib::Interface_Class &interface_class) | |
| Interface (GObject *castitem) | |
| virtual | ~Interface () | 
| void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) | 
| void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const | 
| void | set_property (const Glib::ustring &property_name, const PropertyType &value) | 
| void | get_property (const Glib::ustring &property_name, PropertyType &value) const | 
| void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) | 
| sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) | 
| void | freeze_notify () | 
| void | thaw_notify () | 
| virtual void | reference () const | 
| virtual void | unreference () const | 
| GObject * | gobj_copy () const | 
| Static Public Member Functions | |
| static GType | get_type () | 
| Get the GType for this class, for use with the underlying GObject type system. | |
| static Glib::RefPtr< CssProvider > | create () | 
| static Glib::RefPtr< CssProvider > | get_default () | 
| Returns the provider containing the style settings used as a fallback for all widgets. | |
| static Glib::RefPtr< CssProvider > | get_named (const Glib::ustring& name, const Glib::ustring& variant) | 
| Loads a theme from the usual theme paths. | |
|  Static Public Member Functions inherited from Gtk::StyleProvider | |
| static void | add_interface (GType gtype_implementer) | 
| Protected Member Functions | |
| CssProvider () | |
|  Protected Member Functions inherited from Glib::Object | |
| Object () | |
| Object (const Glib::ConstructParams &construct_params) | |
| Object (GObject *castitem) | |
| virtual | ~Object () | 
| ObjectBase () | |
| ObjectBase (const char *custom_type_name) | |
| ObjectBase (const std::type_info &custom_type_info) | |
| virtual | ~ObjectBase ()=0 | 
| void | initialize (GObject *castitem) | 
|  Protected Member Functions inherited from Gtk::StyleProvider | |
| StyleProvider () | |
| You should derive from this class to use it. | |
|  Protected Member Functions inherited from Glib::Interface | |
| ObjectBase () | |
| ObjectBase (const char *custom_type_name) | |
| ObjectBase (const std::type_info &custom_type_info) | |
| virtual | ~ObjectBase ()=0 | 
| void | initialize (GObject *castitem) | 
| Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr< Gtk::CssProvider > | wrap (GtkCssProvider* object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
|  Related Functions inherited from Gtk::StyleProvider | |
| Glib::RefPtr< Gtk::StyleProvider > | wrap (GtkStyleProvider* object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
| Additional Inherited Members | |
|  Public Types inherited from Glib::Object | |
| typedef void(* | DestroyNotify )(gpointer data) | 
CSS-like styling for widgets, implementing the StyleProvider base class.
It is able to parse <ulink url="http://www.w3.org/TR/CSS2">CSS</ulink>-like input in order to style widgets.
An application can cause GTK+ to parse a specific CSS style sheet by calling load_from_file() and adding the provider with StyleContext::add_provider() or StyleContext::add_provider_for_screen(). In addition, certain files will be read when GTK+ is initialized. See the <ulink url="http://library.gnome.org/devel/gtk3/unstable/GtkCssProvider.html#GtkCssProvider.description">GtkCssProvider documentation</ulink> for details of these default files and details of the stylesheets.
| 
 | virtual | 
| 
 | protected | 
| 
 | static | 
| 
 | static | 
Returns the provider containing the style settings used as a fallback for all widgets.
| 
 | static | 
Loads a theme from the usual theme paths.
| name | A theme name. | 
| variant | Variant to load, for example, "dark", or 0for the default. | 
| 
 | static | 
Get the GType for this class, for use with the underlying GObject type system.
Reimplemented from Gtk::StyleProvider.
| 
 | inline | 
Provides access to the underlying C GObject.
Reimplemented from Glib::Object.
| 
 | inline | 
Provides access to the underlying C GObject.
Reimplemented from Glib::Object.
| GtkCssProvider* Gtk::CssProvider::gobj_copy | ( | ) | 
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| bool Gtk::CssProvider::load_from_data | ( | const std::string & | data | ) | 
Loads data into this css provider, making it clear any previously loaded information.
| data | CSS data loaded in memory. | 
| bool Gtk::CssProvider::load_from_file | ( | const Glib::RefPtr< const Gio::File > & | file | ) | 
Loads the data contained in file into css_provider, making it clear any previously loaded information.
| file | File pointing to a file to load. | 
true. The return value is deprecated and false will only be returned for backwards compatibility reasons if an error is not 0 and a loading error occured. To track errors while loading CSS, connect to the GtkCssProvider::parsing-error signal. | bool Gtk::CssProvider::load_from_path | ( | const std::string & | path | ) | 
Loads the data contained in path into css_provider, making it clear any previously loaded information.
| path | The path of a filename to load, in the GLib filename encoding. | 
true. The return value is deprecated and false will only be returned for backwards compatibility reasons if an error is not 0 and a loading error occured. To track errors while loading CSS, connect to the GtkCssProvider::parsing-error signal. | Glib::ustring Gtk::CssProvider::to_string | ( | ) | const | 
Convertes the provider into a string representation in CSS format.
Using load_from_data() with the return value from this function on a new provider created with new() will basicallu create a duplicate of this provider.
| 
 | related | 
A Glib::wrap() method for this object.
| object | The C instance. | 
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. | 
 1.8.1.1
 1.8.1.1