Re: How to create unique widget when reusing widget id's from a GladeXML object.

2008-08-12 Thread dhk
Tristan Van Berkom wrote: If you are using one glade file for the tab contents and parsing it again for each tab, then you get widgets in your runtime interface that have the same name, thats not an issue for gtk+ - but, as you named them yourself, its up to you to identify them some other way.

Re: How to create unique widget when reusing widget id's from a GladeXML object.

2008-08-12 Thread Olivier Guilyardi
Hi, dhk wrote: How can a unique widget be created by using the same widget from a GladeXML object multiple times? You can use different GladeXML objects, constructed out of the same glade file. Example: GladeXML *xml = glade_xml_new(test.glade, NULL, NULL); GtkWidget *widget1 =

Which signal to select text

2008-08-12 Thread Justin Clancy
This is probably a newbie question, but I can't find an answer in the documentation. I have the following setup: GtkScrolledWindow GtkTextView (called Code_Text) GtkTextBuffer (called code_textbuffer) The textbuffer holds several lines of disassembled code (the code window). What I

Re: How to create unique widget when reusing widget id's from a GladeXML object.

2008-08-12 Thread Tristan Van Berkom
oops this missed the list... On Tue, Aug 12, 2008 at 6:58 AM, Olivier Guilyardi [EMAIL PROTECTED] wrote: [...] About performance, from the liblglade manual : the XML parse tree is cached to speed up creating another GladeXML object for the same file. Yes, and for the same reasons outlined

Sliding effect of widgets

2008-08-12 Thread dolly vittal
Hi All, I am developing a small GTK+ application on the lines of a media player.   When a widget replaces another widget, I need to have the sliding effect.   I have searched the GTK+ and came to know that the sliding effects are not implemented in it.  I would like to know if  GTK+ themes

gnome-control-center related question

2008-08-12 Thread Vasiliy G Tolstov
Hello! I'm new in gtk (i'm using gtkmm before). What containers i must use to build application like gnome-control-center ? (icons in main window, after clicking on it displays new windows with properties...) -- Vasiliy G Tolstov [EMAIL PROTECTED] Selfip.Ru

Re: How to create unique widget when reusing widget id's from a GladeXML object.

2008-08-12 Thread Tristan Van Berkom
On Tue, Aug 12, 2008 at 6:58 AM, Olivier Guilyardi [EMAIL PROTECTED] wrote: [...] About performance, from the liblglade manual : the XML parse tree is cached to speed up creating another GladeXML object for the same file. Yes, and for the same reasons outlined above its a good idea to unref

Re: How to create unique widget when reusing widget id's from a GladeXML object.

2008-08-12 Thread Tristan Van Berkom
On Tue, Aug 12, 2008 at 6:58 AM, Olivier Guilyardi [EMAIL PROTECTED] wrote: [...] About performance, from the liblglade manual : the XML parse tree is cached to speed up creating another GladeXML object for the same file. Yes, and for the same reasons outlined above its a good idea to unref

Re: How to create unique widget when reusing widget id's from a GladeXML object.

2008-08-12 Thread dhk
Olivier Guilyardi wrote: Hi, dhk wrote: How can a unique widget be created by using the same widget from a GladeXML object multiple times? You can use different GladeXML objects, constructed out of the same glade file. Example: GladeXML *xml = glade_xml_new(test.glade, NULL, NULL);

Re: How to create unique widget when reusing widget id's from a GladeXML object.

2008-08-12 Thread dhk
Tristan Van Berkom wrote: oops this missed the list... On Tue, Aug 12, 2008 at 6:58 AM, Olivier Guilyardi [EMAIL PROTECTED] wrote: [...] About performance, from the liblglade manual : the XML parse tree is cached to speed up creating another GladeXML object for the same file. Yes, and for