GTK+ Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <gtk/gtk.h> struct GtkThemeEngine; GtkThemeEngine* gtk_theme_engine_get (const gchar *name); void gtk_theme_engine_ref (GtkThemeEngine *engine); void gtk_theme_engine_unref (GtkThemeEngine *engine); GtkRcStyle* gtk_theme_engine_create_rc_style (GtkThemeEngine *engine); GType gtk_theme_engine_register_type (GtkThemeEngine *engine, GType parent_type, const gchar *type_name, const GTypeInfo *type_info); |
GtkRcStyle* gtk_theme_engine_create_rc_style (GtkThemeEngine *engine); |
engine : | |
Returns : |
GType gtk_theme_engine_register_type (GtkThemeEngine *engine, GType parent_type, const gchar *type_name, const GTypeInfo *type_info); |
Looks up or registers a type that is implemented with a particular theme engine. If a type with name type_name is already registered, the GType identifier for the type is returned, otherwise the type is newly registered, and the resulting GType identifier returned.
As long as any instances of the type exist, the a reference will be held to the theme engine and the theme engine will not be unloaded.
engine : | a GtkThemeEngine |
parent_type : | the type for the parent class |
type_name : | name for the type |
type_info : | type information structure |
Returns : | the type identifier for the class. |