Themes

Name

Themes -- 

Synopsis


#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);

Description

Details

struct GtkThemeEngine

struct GtkThemeEngine;


gtk_theme_engine_get ()

GtkThemeEngine* gtk_theme_engine_get        (const gchar *name);

name : 
Returns : 


gtk_theme_engine_ref ()

void        gtk_theme_engine_ref            (GtkThemeEngine *engine);

engine : 


gtk_theme_engine_unref ()

void        gtk_theme_engine_unref          (GtkThemeEngine *engine);

engine : 


gtk_theme_engine_create_rc_style ()

GtkRcStyle* gtk_theme_engine_create_rc_style
                                            (GtkThemeEngine *engine);

engine : 
Returns : 


gtk_theme_engine_register_type ()

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.