When a widget can be gotten by using GTK builder functions or GTK Widget
functions, does it make a difference, or is one way better than the
other, for finding the widget.
For example when I can get the same widget using either of the following
two calls, which one should I use and why?
You should always prefer using either gtk_builder_get_object(), or
also using trustable API's like gtk_button_get_image_widget() for instance.
(not sure if thats an existing api, but you get the idea).
I.e. the composition of opaque composite widgets from GTK+ can
change, possibly breaking unwary
Tristan Van Berkom wrote:
You should always prefer using either gtk_builder_get_object(), or
also using trustable API's like gtk_button_get_image_widget() for instance.
(not sure if thats an existing api, but you get the idea).
I.e. the composition of opaque composite widgets from GTK+ can