Re: Filtering GtkComboBoxEntry input

2007-08-13 Thread Damien Caliste
Hello, On a related note: Is there an elegant way to directly set the text for the entry to some arbitrary text? I've read in the API documentation http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBoxEntry.html#gtk-combo-box-entry-new that the combox_entry has an entry as child, so I access

Creating object based on GObject

2007-08-13 Thread Tomasz Jankowski
Hello! I want to do such thing: Object, during create process, should be added to objects' table (GHashTable). In this table I use one of objects' properties as key (each object have other value of this property). This property is set only during 'g_object_new' execution and it can't be changed

Re: Creating object based on GObject

2007-08-13 Thread Peter Clifton
On Mon, 2007-08-13 at 13:07 +0200, Tomasz Jankowski wrote: Hello! I want to do such thing: Object, during create process, should be added to objects' table (GHashTable). In this table I use one of objects' properties as key (each object have other value of this property). This property is

Re: How to use GtkPrint

2007-08-13 Thread Alexander S.Kresin
Thursday, August 09, 2007, 3:15:05 PM, Emmanuele Bassi [EMAIL PROTECTED] wrote: Doesn't anyone here use GtkPrint ? EB gtk-demo includes working code for printing. you should have a look at EB it. EB http://svn.gnome.org/viewcvs/gtk%2B/trunk/demos/gtk-demo/ Many thanks for a tip.

Re: How to change root window coordinates

2007-08-13 Thread Tristan Van Berkom
On Sun, 2007-08-12 at 19:09 -0700, Matthew Jiang wrote: I was porting gkt to an embeded system. The problem is that I always got unwanted display offset on LCD. I used gdk_window_get_root_origin function get origin position and found root_x equals a wiered number not zero. How could I fix

gtk_widget_modify_bg() and statusbar

2007-08-13 Thread Sylvain Vedrenne
Hi, In my Gtkmm application, I would like the background to be black and the statusbar to be of the standard color (grey, in my configuration). I would like to find out how to avoid the statusbar to be the same color as the widget behind (except for the resize grip which is Ok). It seems to

(solution)Re: gtk_widget_modify_bg() and statusbar

2007-08-13 Thread Sylvain Vedrenne
Sylvain Vedrenne wrote: Hi, In my Gtkmm application, I would like the background to be black and the statusbar to be of the standard color (grey, in my configuration). I would like to find out how to avoid the statusbar to be the same color as the widget behind (except for the resize grip