X11workbench Toolkit
1.0
|
Typedefs | |
typedef struct s_WB_DIALOG_PROP | WB_DIALOG_PROP |
Dialog property storage structure. More... | |
typedef struct s_WB_DIALOG_PROPLIST | WBDialogPropList |
Dialog Property List, container for WB_DIALOG_PROP. More... | |
typedef struct s_WB_DIALOG_CONTROL | WBDialogControl |
Structure identifying the properties of a dialog box control. More... | |
typedef struct s_WB_IMAGE_CONTROL | WBImageControl |
Static 'Image' control structure. More... | |
typedef struct s_WB_PUSHBUTTON_CONTROL | WBPushButtonControl |
Button 'pushbutton' control structure. More... | |
typedef struct s_WB_EDIT_CONTROL | WBEditControl |
Edit control structure. More... | |
typedef struct s_WB_LIST_CONTROL | WBListControl |
List control structure. More... | |
typedef struct s_WB_COMBO_CONTROL | WBComboControl |
List control structure. More... | |
typedef struct s_WB_TREE_CONTROL | WBTreeControl |
Static 'Image' control structure. More... | |
Data Types for dialog controls
Dialog property storage structure.
Internally dialog properties are stored using this structure. An array of these are stored as a WBDialogPropList for each dialog control that has properties. Certain properties, however, are mapped to structure members within the WBDialogControl structure.
Dialog property storage structure. Additional details can be found in the documentation for WB_DIALOG_PROP and WBDialogPropList.
List control structure.
Structure allocated for List control
Structure identifying the properties of a dialog box control.
All dialog box controls have certain properties in common, and most of them also have a number of other common properties. Those properties most commonly used by dialog box controls are stored as members of a WBDialogControl structure and additional properties in an allocated WBDialogPropList (as needed)
For performance reasons, some control types may allocate a 'superclass' of this structure with additional data members.
This data structure identifies a dialog control's properties. For more information, see WBDialogControl . Typically, a dialog control will allocate a structure that is at LEAST the size of WBDialogControl. Additional private data can then be stored following the 'cbStructSize' member, which will identify the ACTUAL size of the structure.
For each dialog control, a pointer to this structure is assigned to window property index 0, and can be easily obtained using DLGGetDialogControlStruct() (preferred method)
Dialog Property List, container for WB_DIALOG_PROP.
Container structure for WB_DIALOG_PROP structures, pre-allocated to hold 'nMaxProps'. Can be re-allocated as necessary to increase the total number of properties so long as the pointer to this structure isn't being cached outside of the WBDialogControl
Properties are maintained using the following X11 Work Bench Toolkit API functions:
Edit control structure.
Structure allocated for Edit control, allows for an edit state buffer
List control structure.
Structure allocated for List control
Static 'Image' control structure.
Structure allocated for Tree control