Re: reverse function to g_flags_register_static()

2002-03-13 Thread Oliver Singla
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

reverse function to g_flags_register_static()

2002-03-12 Thread Oliver Singla
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

Re: Trouble to compile atk-0.12

2002-03-08 Thread Oliver Singla
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

Re: Get Set pixel from a pixmap.

2002-03-05 Thread Oliver Singla
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

Force a widget to redraw itself (1.2.10)

2002-02-27 Thread Oliver Singla
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

GTK Application Builder

2001-10-29 Thread Oliver Singla
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

Re: A new application builder for the GTK

2000-09-04 Thread Oliver Singla
--- 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