Package: gtk
Class gtk:grid
Superclassesgtk:container, gtk:widget, gtk:buildable, gtk:orientable, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:grid widget is a container which arranges its child widgets
in rows and columns, with arbitrary positions and horizontal/vertical spans. Children are added using the gtk:grid-attach function. They can span multiple rows or columns. It is also possible to add a child next to an existing child, using the gtk:grid-attach-next-to function. The behaviour of the gtk:grid widget when several children occupy the same grid cell is undefined. The gtk:grid widget can be used like a gtk:box widget by just using the gtk:container-add function, which will place children next to each other in the direction determined by the orientation property. However, if all you want is a single row or column, then the gtk:box widget is the preferred widget. CSS nodesChild Property Detailsheight The height child property of type :int (Read / Write) The number of rows that a child spans. Allowed values: >= 1 Default value: 1 left-attach The left-attach child property of type :int (Read / Write) The column number to attach the left side of the child to. Default value: 0 top-attach The top-attach child property of type :int (Read / Write) The row number to attach the top side of a child widget to. Default value: 0 width The width child property of type :int (Read / Write) The number of columns that a child spans. Allowed values: >= 1 Default value: 1 | Returned bySlot Access Functions
Inherited Slot Access FunctionsSee also |
2023-12-28