Re: QWidgetList QApplication::topLevelWidgets () ?

2007-03-20 Thread Matthias Clasen
On 3/20/07, Carlos Savoretti <[EMAIL PROTECTED]> wrote: > Hi all! > > A simple question... Is there any function > equivalent to topLevelWidgets in gtk ? > > Or some way to emulate it ? > > I need it in order to iterate thru all the You are probably looking for gtk_window_list_toplevels(). ___

Re: QWidgetList QApplication::topLevelWidgets () ?

2007-03-20 Thread Michael L Torrie
On Tue, 2007-03-20 at 10:10 -0300, Carlos Savoretti wrote: > Hi all! > > A simple question... Is there any function > equivalent to topLevelWidgets in gtk ? > > Or some way to emulate it ? > > I need it in order to iterate thru all the > instances of a certain class created by an > app. If you

A few gtk/glib related questions

2007-03-20 Thread galtgendo
What would be the correct way of removing all rows from a text combobox, as I'm trying not to use a full combobox. Now I'm thinking about something along the lines of: i = gtk_tree_model_iter_n_children (gtk_combo_box_get_model(combobox), NULL); while (i>0) {i--; gtk_combo_box_remove_text(combo

Re: QWidgetList QApplication::topLevelWidgets () ?

2007-03-20 Thread Michael Ekstrand
On Tue, 2007-03-20 at 10:10 -0300, Carlos Savoretti wrote: > A simple question... Is there any function > equivalent to topLevelWidgets in gtk ? > > Or some way to emulate it ? > > I need it in order to iterate thru all the > instances of a certain class created by an > app. I'm not sure if ther

Re: How to handle radio buttons ?

2007-03-20 Thread Holger Berndt
[EMAIL PROTECTED] schrieb: [Radio buttons] > But in the next step, I don't know how to get an information about which > choice has been chosen :-( > > Could you please send me some example or clear it up ? Check out the GTK+ Reference Manual, page GtkRadioButton. When an unselected button in th

How to handle radio buttons ?

2007-03-20 Thread minux
Hi there, I'm just beginning with C/GTK+ programming and I don't know how to handle radio buttons. I have an assistant with some pages and one of those pages is a group of radio buttons. On the next assistant page after that with radio buttons I need to have content depending on radio button ch

QWidgetList QApplication::topLevelWidgets () ?

2007-03-20 Thread Carlos Savoretti
Hi all! A simple question... Is there any function equivalent to topLevelWidgets in gtk ? Or some way to emulate it ? I need it in order to iterate thru all the instances of a certain class created by an app. Thanks. ___ gtk-app-devel-list mailing li