Re: reverse function to g_flags_register_static()
- From: Oliver Singla <oliver-singla nc rr com>
- Cc: gtk-list gnome org
- Subject: Re: reverse function to g_flags_register_static()
- Date: Wed, 13 Mar 2002 10:52:04 -0500
Never mind...
It seems that the next code works:
GFlagsClass *eclass;
GFlagsValue *values;
GType etype = gdk_event_mask_get_type();
eclass = G_FLAGS_CLASS (g_type_class_ref (etype));
values = eclass->values;
Oliver Singla wrote:
In GTK 2.0:
Funtion gdk_event_mask_get_type() return a GType.
How could I retrieve the GFlagsValue structure values from this type ?
So basically I am looking for the reverse functions as
g_flags_register_static() and g_enum_register_static().
TIA,
Olivier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]