Package: gtk
Class gtk-fixed
SuperclassesDocumented Subclasses
None
Direct Slots
None
Details The gtk-fixed widget is a container which can place child widgets at
fixed positions and with fixed sizes, given in pixels.
The fixed widget performs no automatic layout management. For most applications, you should not use this container. It keeps you from having to learn about the other GTK containers, but it results in broken applications. With the gtk-fixed widget, the following things will result in truncated text, overlapping widgets, and other display bugs:
Finally, fixed positioning makes it kind of annoying to add/remove GUI elements, since you have to reposition all the other elements. This is a long-term maintenance problem for your application. If you know none of these things are an issue for your application, and prefer the simplicity of the gtk-fixed widget, by all means use the fixed widget. But you should be aware of the tradeoffs. See also the gtk-layout widget, which shares the ability to perform fixed positioning of child widgets and additionally adds custom drawing and scrollability. Child Property Details
| Inherited Slot Access FunctionsSee also |
*2021-12-17