wxquerylayoutinfoeventthis event is sent when wxlayoutalgorithm wishes to get the size, orientation and alignment of a window. more precisely, the event is sent by the oncalculatelayout handler which is itself invoked by wxlayoutalgorithm. derived from include files <wx/laywin.h> event table macros
data structures
see also wxcalculatelayoutevent, wxsashlayoutwindow, wxlayoutalgorithm. members
wxquerylayoutinfoevent::wxquerylayoutinfoevent
wxquerylayoutinfoevent::wxquerylayoutinfoeventwxquerylayoutinfoevent(wxwindowid id = 0) constructor.
wxquerylayoutinfoevent::getalignmentvoid getalignment() const specifies the alignment of the window (which side of the remaining parent client area the window sticks to). one of wxlayout_top, wxlayout_left, wxlayout_right, wxlayout_bottom.
wxquerylayoutinfoevent::getflagsint getflags() const returns the flags associated with this event. not currently used.
wxquerylayoutinfoevent::getorientationwxlayoutorientation getorientation() const returns the orientation that the event handler specified to the event object. may be one of wxlayout_horizontal, wxlayout_vertical.
wxquerylayoutinfoevent::getrequestedlengthint getrequestedlength() const returns the requested length of the window in the direction of the window orientation. this information is not yet used.
wxquerylayoutinfoevent::getsizewxsize getsize() const returns the size that the event handler specified to the event object as being the requested size of the window.
wxquerylayoutinfoevent::setalignmentvoid setalignment(wxlayoutalignment alignment) call this to specify the alignment of the window (which side of the remaining parent client area the window sticks to). may be one of wxlayout_top, wxlayout_left, wxlayout_right, wxlayout_bottom.
wxquerylayoutinfoevent::setflagsvoid setflags(int flags) sets the flags associated with this event. not currently used.
wxquerylayoutinfoevent::setorientationvoid setorientation(wxlayoutorientation orientation) call this to specify the orientation of the window. may be one of wxlayout_horizontal, wxlayout_vertical.
wxquerylayoutinfoevent::setrequestedlengthvoid setrequestedlength(int length) sets the requested length of the window in the direction of the window orientation. this information is not yet used.
wxquerylayoutinfoevent::setsizevoid setsize(const wxsize& size) call this to let the calling code know what the size of the window is.
|