diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-10-07 17:15:20 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-10-07 17:15:20 +0200 |
| commit | 9dd8bf4b60037e7ffc414a07898452cfecfd10bf (patch) | |
| tree | c6440fdb63d7788cf7d3befbf67055948cf52ee9 /documentation/src/common.dox | |
| parent | 6e5f3f7ecb3cc0039e113a5e3b2409ba0f7e7cea (diff) | |
Document Fl_Flex and Fl_Grid in the list of group widgets
Diffstat (limited to 'documentation/src/common.dox')
| -rw-r--r-- | documentation/src/common.dox | 11 |
1 files changed, 9 insertions, 2 deletions
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: |
