Re: Access to a single character in a button label

2007-05-26 Thread Yeti
On Sat, May 26, 2007 at 03:11:24AM +0200, Jean-Louis Schmitt wrote: Is it possible to change the color or to underline only one character of a gtt_button label? Do you want to underline a character that is NOT a mnemonic character of the button? That would be highly confusing. Anyway, you

Re: HELP: GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'

2007-05-26 Thread Guenther Meyer
Hi, finally it seems, that I solved the problem :-) after removing a GSList, which I used for some radiobuttons, all the warnings were gone, and it seems to work now. thanks for your tips! ___ gtk-app-devel-list mailing list

How to build a GtkTree?

2007-05-26 Thread Guenther Meyer
hi, I have another problem; I did read the documentation about it but I'm a little bit confused about these iter/path things. What I like to do, is building a tree from some data, that is available in the following format: catA CatB CatB.a CatB.b CatB.a.x CatC CatC.q CatC.q.1 CatC.q.1.a CatD

Global GladeXML

2007-05-26 Thread Felipe Balbi
Hello all, my problem is the folowing... I have a glade xml file being opened in my code... I wanna use the same pointer to this XML file in other functions... how could I do it?? I have the implementation below, but my signals are not connecting.. why?? (maybe this IS a newbie question... but

Re: How to build a GtkTree?

2007-05-26 Thread Guenther Meyer
Am Samstag 26 Mai 2007 schrieben Sie: You need to insert rows with parents. Take a look at the definition of: gtk_tree_store_insert () if parent is null, the row will be a root row... if parent is non-null the row will be a child of parent. Yes, I know that. Maybe I have asked the wrong

Re: How to build a GtkTree?

2007-05-26 Thread Yeti
On Sat, May 26, 2007 at 04:17:58PM +0200, Guenther Meyer wrote: Am Samstag 26 Mai 2007 schrieben Sie: You need to insert rows with parents. Take a look at the definition of: gtk_tree_store_insert () if parent is null, the row will be a root row... if parent is non-null the row will be

Re: Global GladeXML

2007-05-26 Thread Jim George
On 5/26/07, Felipe Balbi [EMAIL PROTECTED] wrote: Hello all, my problem is the folowing... I have a glade xml file being opened in my code... I wanna use the same pointer to this XML file in other functions... how could I do it?? I have the implementation below, but my signals are not

Re: Global GladeXML

2007-05-26 Thread Jim George
On 5/26/07, Felipe Balbi [EMAIL PROTECTED] wrote: it's the glade_xml_signal_autoconnect I define the name in the xml file and code the same name in the C language... libglade does the connections :-p easier.. and let my code be cleaner... You need to pass -export-dynamic to ld in order to

Re: Global GladeXML

2007-05-26 Thread Felipe Balbi
Hi, On 5/26/07, Jim George [EMAIL PROTECTED] wrote: On 5/26/07, Felipe Balbi [EMAIL PROTECTED] wrote: it's the glade_xml_signal_autoconnect I define the name in the xml file and code the same name in the C language... libglade does the connections :-p easier.. and let my code be

Re: Global GladeXML

2007-05-26 Thread Felipe Balbi
On 5/26/07, Felipe Balbi [EMAIL PROTECTED] wrote: Hi, On 5/26/07, Jim George [EMAIL PROTECTED] wrote: On 5/26/07, Felipe Balbi [EMAIL PROTECTED] wrote: it's the glade_xml_signal_autoconnect I define the name in the xml file and code the same name in the C language...

XtVaSetValues equivalent for Gtk/Gdk/Glib

2007-05-26 Thread JM
I'm using the Motif Window Manager and am constructing my GUI windows using Gtk-2.0. I need to add some custom menu items to the windows and can do this by modifying the .mwmrc file. However, I need to add a custom protocol and was wondering how to connect the protocol to the menu item. If I

Re: Image process in gdk

2007-05-26 Thread Luis Ramirez
Problem solved! : As I viewed first time an image with gtk_image_new_from_pixbuf, when I tried to change that image later after pushing a button, nothing happened, but by using gtk_image_set_from_pixbuf instead, the image changes to the new one (no need to use expose_event at all) Thank you

Re: Global GladeXML

2007-05-26 Thread Tristan Van Berkom
On Sat, 2007-05-26 at 10:31 -0600, Jim George wrote: On 5/26/07, Felipe Balbi [EMAIL PROTECTED] wrote: Hello all, my problem is the folowing... I have a glade xml file being opened in my code... I wanna use the same pointer to this XML file in other functions... how could I do it??

Re: Global GladeXML

2007-05-26 Thread Jim George
Note that this is definitely not a recommended practice, GladeXML objects should be dispensed with as soon as possible after interface construction, its a heap of allocated strings that represents the parsed state of the glade file; not only a practical hash table by widget name thing. See