From 9dd8bf4b60037e7ffc414a07898452cfecfd10bf Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 7 Oct 2024 17:15:20 +0200 Subject: Document Fl_Flex and Fl_Grid in the list of group widgets --- documentation/src/common.dox | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'documentation/src') diff --git a/documentation/src/common.dox b/documentation/src/common.dox index c8536e095..56679a680 100644 --- a/documentation/src/common.dox +++ b/documentation/src/common.dox @@ -130,8 +130,16 @@ with FLTK: \li Fl_Double_Window - A double-buffered window on the screen. +\li Fl_Flex - A flexible container of one row or column of widgets. + Fl_Flex widgets may be nested, but see also Fl_Grid. + \li Fl_Gl_Window - An OpenGL window on the screen. +\li Fl_Grid - A flexible container of one or more rows and columns of widgets + arranged in a "grid" with auto-layout features. Fl_Grid widgets can be nested + with other Fl_Grid or many Fl_Group type widgets. Nesting with other self-resizing + containers like Fl_Pack and Fl_Tile is not recommended but \b may work. + \li Fl_Group - The base container class; can be used to group any widgets together. @@ -150,8 +158,7 @@ with FLTK: \section common_sizeposition Setting the Size and Position of Widgets The size and position of widgets is usually set when you create them. -You can access them with the \p x(), \p y(), \p w(), and \p h() -methods. +You can access them with the \p x(), \p y(), \p w(), and \p h() methods. You can change the size and position by using the \p position(), \p resize(), and \p size() methods: -- cgit v1.2.3