The second type of container can have more than one child its purpose is to Its child into a clickable button a GtkFrame draws a frame around its childĪnd a GtkWindow places its child widget inside a top-level window. These containers are decorators, whichĪdd some kind of functionality to the child. The first type of container widget has a single child widget and derivesįrom GtkBin. There are two major kinds of container widgets in GTK+. Of a textual label inside the frame, you might replace the GtkLabel widget So, for example, you might have a GtkWindowĬontaining a GtkFrame containing a GtkLabel. A GTK+ user interface is constructed by nesting widgets inside widgets.Ĭontainer widgets are the inner nodes in the resulting tree of widgets:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |