#include <wxCryst.h>
Inheritance diagram for ObjCryst::WXCrystObj::
Public Methods | |
WXCrystObj (wxWindow *parent, int orient=wxHORIZONTAL, bool showName=true) | |
Constructor, with a. | |
virtual | ~WXCrystObj () |
bool | Layout () |
Fix the Layout of the window, resize if necessary. | |
void | OnToggleCollapse (wxCommandEvent &WXUNUSED(event)) |
Only display the title, and collapse everything else. changed, so it is pretty useless so far... More... | |
virtual bool | OnChangeName (const int id)=0 |
When a WXFieldName has been changed by the user, it is handled here. This returns true if the value has been handled (for inheritance purposes). | |
virtual void | CrystUpdate () |
Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. The actual GUI update is not made here. UpdateUI() should be called separately, from the main thread. | |
virtual void | UpdateUI () |
Update the User Interface, if necessary. | |
Protected Attributes | |
wxBoxSizer * | mpTopSizer |
Top sizer including the title and WXCrystObj::mpSizer. | |
wxBoxSizer * | mpSizer |
Sizer including all sub-objects. | |
WXFieldName * | mpWXTitle |
The title. | |
bool | mIsExpanded |
To be used for collapsing the sub-objects. | |
WXCrystObjBasicList | mList |
All windows but the title and collapse button are in this list. | |
wxButton * | mpCollapseButton |
The collapse button. |
A button (which should be used to collapse the object) is used to create an indentation for the sub-objects.
|
Only display the title, and collapse everything else. changed, so it is pretty useless so far...
|