wex v24.10.0
Public Member Functions | List of all members
wex::data::layout Class Reference

Offers user data to be used by item layout. More...

#include <wex/data/layout.h>

Public Member Functions

 layout (wxWindow *parent, int cols, int rows=0)
 Constructor, specify parent and creates the sizer based on cols and rows.
 
bool is_readonly () const
 Returns is_readonly.
 
layoutis_readonly (bool rhs)
 Sets is_readonly.
 
wxWindow * parent ()
 Returns the parent.
 
auto * sizer ()
 Returns the base sizer.
 
bool sizer_grow_row ()
 Grows last row of sizer. Returns false if row cannot grow.
 
auto * sizer_layout ()
 Returns the layout sizer.
 
bool sizer_layout_create (sizer_t *rhs)
 Creates the sizer layout.
 
bool sizer_layout_grow_col ()
 Grows last col of sizer layout. Returns false if col cannot grow.
 
bool sizer_layout_grow_row ()
 Grows last row of sizer layout. Returns false if row cannot grow.
 

Detailed Description

Offers user data to be used by item layout.