gtk.Types.Types Class Reference

List of all members.

Detailed Description

Description The GTK+ type system is extensible.

Because of that, types have to be managed at runtime.


Public Member Functions

GtkTypegetTypesStruct ()
 this (GtkType *gtkType)
 Sets our main struct and passes it to the parent class.

Static Public Member Functions

static void init (GTypeDebugFlags debugFlags)
 Warning gtk_type_init is deprecated and should not be used in newly-written code.
static GtkType unique (GtkType parentType, GtkTypeInfo *gtkinfo)
 Warning gtk_type_unique is deprecated and should not be used in newly-written code.
static void * clss (GtkType type)
 Returns a pointer pointing to the class of type or NULL if there was any trouble identifying type.
static void * newTypes (GtkType type)
 Warning gtk_type_new is deprecated and should not be used in newly-written code.
static GtkEnumValueenumGetValues (GtkType enumType)
 Warning gtk_type_enum_get_values is deprecated and should not be used in newly-written code.
static GtkFlagValueflagsGetValues (GtkType flagsType)
 Warning gtk_type_flags_get_values is deprecated and should not be used in newly-written code.
static GtkEnumValueenumFindValue (GtkType enumType, char[] valueName)
 Warning gtk_type_enum_find_value is deprecated and should not be used in newly-written code.
static GtkFlagValueflagsFindValue (GtkType flagsType, char[] valueName)
 Warning gtk_type_flags_find_value is deprecated and should not be used in newly-written code.

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

GtkTypegtkType
 the main Gtk struct


Constructor & Destructor Documentation

gtk.Types.Types.this ( GtkType gtkType  ) 

Sets our main struct and passes it to the parent class.


Member Function Documentation

static void* gtk.Types.Types.clss ( GtkType  type  )  [static]

Returns a pointer pointing to the class of type or NULL if there was any trouble identifying type.

Initializes the class if necessary. type: a GtkType. Returns: pointer to the class.

static GtkEnumValue* gtk.Types.Types.enumFindValue ( GtkType  enumType,
char[]  valueName 
) [static]

Warning gtk_type_enum_find_value is deprecated and should not be used in newly-written code.

Returns a pointer to one of enum_type's GtkEnumValues's whose name (or nickname) matches value_name. enum_type: a GtkType. value_name: the name to look for. Returns: GtkEnumValue*

static GtkEnumValue* gtk.Types.Types.enumGetValues ( GtkType  enumType  )  [static]

Warning gtk_type_enum_get_values is deprecated and should not be used in newly-written code.

If enum_type has values, then return a pointer to all of them. enum_type: a GtkType. Returns: GtkEnumValue*

static GtkFlagValue* gtk.Types.Types.flagsFindValue ( GtkType  flagsType,
char[]  valueName 
) [static]

Warning gtk_type_flags_find_value is deprecated and should not be used in newly-written code.

Returns a pointer to one of flag_type's GtkFlagValue's whose name (or nickname) matches value_name. flags_type: a GtkType. value_name: the name to look for. Returns: GtkFlagValue*

static GtkFlagValue* gtk.Types.Types.flagsGetValues ( GtkType  flagsType  )  [static]

Warning gtk_type_flags_get_values is deprecated and should not be used in newly-written code.

If flags_type has values, then return a pointer to all of them. flags_type: a GtkType. Returns: GtkFlagValue*

void* gtk.Types.Types.getStruct (  )  [protected]

the main Gtk struct as a void*

GtkType* gtk.Types.Types.getTypesStruct (  ) 

static void gtk.Types.Types.init ( GTypeDebugFlags  debugFlags  )  [static]

Warning gtk_type_init is deprecated and should not be used in newly-written code.

Initializes the data structures associated with GTK+ types. debug_flags:

static void* gtk.Types.Types.newTypes ( GtkType  type  )  [static]

Warning gtk_type_new is deprecated and should not be used in newly-written code.

Creates a new object of a given type, and return a pointer to it. Returns NULL if you give it an invalid type. It allocates the object out of the type's memory chunk if there is a memory chunk. The object has all the proper initializers called. type: a GtkType. Returns: pointer to a GtkTypeObject.

static GtkType gtk.Types.Types.unique ( GtkType  parentType,
GtkTypeInfo gtkinfo 
) [static]

Warning gtk_type_unique is deprecated and should not be used in newly-written code.

Creates a new, unique type. parent_type: if zero, a fundamental type is created. gtkinfo: Returns: the new GtkType.


Member Data Documentation

GtkType* gtk.Types.Types.gtkType [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo