Re: help about chinese netpage show

2010-07-17 Thread Tao Wang
=== > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Regards Tao Wang ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

How to make GtkLabel fills like GtkTextView?

2010-06-09 Thread Tao Wang
bled both scrollbar. The above is the GtkTextView, it expend to entire GtkScrolledWindow, and the below is the GtkLabel, it's only in a small range in the middle of the GtkScrolledWindow. How to make GtkLabel fill the entire range, just like what GtkTextView did? Thanks. -- Regards Tao Wang ___

Re: How to get a widget from its parent of parent(...) by name?

2010-06-09 Thread Tao Wang
widget = top_level; >} else if (GTK_IS_CONTAINER(top_level)) { > GList *children = gtk_container_get_children(top_level); >while (children) { >if (widget == NULL) >widget = lookup_widget(children->data, name); >children = g_list_delete_link(children, children); >} >} > >return widget; > } > > -- > Nicola > -- Regards Tao Wang ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to get a widget from its parent of parent(...) by name?

2010-06-09 Thread Tao Wang
dget by its id. If I cannot get it, then how to get the widget by id from the top level widget? Thanks. 2010/6/9 Florian Müllner > El mié, 09-06-2010 a las 22:02 +1000, Tao Wang escribió: > > How can I do this if I migrate to GtkBuilder? There is no similar > function &

How to get a widget from its parent of parent(...) by name?

2010-06-09 Thread Tao Wang
te 'vbox1' first then get 'button1' in this sample, however, it gets much worse if the structure has more layer, and the 'button1' is down to the leaf. How to get an widget from it's parent of parent (...) by name? Thanks. -- Regards Tao Wang