Re: [gtk-list] ¿gtk_widget_show_all?



On Mon, 22 Dec 1997, David Abilleira Freijeiro wrote:

> Hello.
> 	A thing I don't understand is why do I have to call gtk_widget_show for
> every widget in the window. I would like having a
> gtk_widget_show_with_childs (or something like this) function that shows
> a widget and all of it's childs (recursively). 
> 	I don't if there are any tecnicall reasons that does it dificult to
> implement, or if you think that is a bad idea, or ...
> 	I think there must be more people that don't like having a tree of
> gtk_widget_show calls in the code, one for each widget.
> 	What do you think about adding this function?

I don't believe Gtk keeps anywhere a list of all allocated widgets. Show
show_all wouldn't be possible to write.

Another call might be feasible, instead: gtk_widget_show_children, which
could recursively show all children of a widget.

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]