#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 () |
Update the display, by getting new values from the object. New values should be grabbed from the object, and then a wxUpdateUI event should be posted (this for multi-thread, since only one thread should do graphical changes). | |
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...
|