Hi.

> I would try gtk_bin_get_child(), since it is a subclass of GtkBin.
>
> http://library.gnome.org/devel/gtk/stable/GtkBin.html#gtk-bin-get-child

What is packed into button depends on how the button was constructed.
If you only set it's label, then GtkLabel will indeed be the child; in
any other situation (if the image has been set alongside label for
example) gtk_bin_get_child() will return container that holds various
pieces together.

My advice to you would be to create label manually and then simply
pack it into empty GtkButton using gtk_container_add().

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to