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
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
of Cflags in your installed version of glib-2.0.pc?
Padraig
Oliver Singla wrote:
Hi,
On my RH7.2 box, I have trouble to compile atk-0.12. After I have ran
.configure, here is what I get when I do a make:
[omsingla@oliver atk-0.12]$ make
Making all in atk
make[1]: Entering directory
Eleni Ryan wrote:
Hi,
I want to get then set a pixel value from a GdkPixmap, but can't seem to
find where to start. I see that pixels can be manipulated in a GdkImage
using gdk_image_get_pixel() gdk_image_put_pixel(), however I need to
manipulate an off-screen pixmap rather than a copy
Hi,
How can I really force a widget to redraw itself ?
If I call gtk_widget_queue_draw(), that seems to work only for widgets
without an X-Window (such GtkLabel or GtkHSeparator). I attached a
expose_event signal to see if the draw is performed or not.
TIA,
Olivier Singla, QNX, Raleigh NC
Hi,
I've put a new version of GLG, Application Builder for the GTK and/or Gnome.
Many bug fixes, cscope support, styles support, etc.
Looking forward to hear suggestions, problems, etc.
Source and/or binaries can be downloaded from
http://glg.sourceforge.net/
Olivier
--- Drazen Kacar [EMAIL PROTECTED] wrote:
Oliver Singla wrote:
To describe a new widget, I have choosen to go
with a
table (populated to describe resources available
for
the widget) vs. other methods (custom widget as in
Glade, for example).
Would it be possible to add some Xt