X11 Work Bench Toolkit 1.0
Structure that defines a Child Frame within a Frame Window. More...
|tag indicating I'm a 'Child Frame' window |
|window identifier for the 'Child Frame' window. may contain 'None' while being destroyed |
|a pointer to the WBFrameWindow owner |
|default font for the window |
|client-area geometry (excludes scroll bars) |
|0-based position of the top of the current viewport (in lines or pixels) |
|0-based height of the current viewport (in lines or pixels) |
|0-based position of the left of the current viewport (in characters or pixels) |
|0-based width of the current viewport (in characters or pixels) |
|cached X extent for the display surface (determines scrolling behavior) |
|cached Y extent for the display surface (determines scrolling behavior) |
|'scroll info' (horizontal and vertical min/max/pos and other details) |
|reserved - position for 'split' (-1 for 'no split') |
|'scroll info' for 'split' area (implementation-defined) |
|various bitflags defining features. See WBChildFrame_FLAGS enum. |
|display name shown in tab and title bar. You should not alter this member directly. |
|'image' atom for display in tabs. default is 'None'. You should not alter this member directly. |
|Status text ('WBAlloc'd) to display when this child frame window has the input focus. Updated by 'superclass'. can be NULL. |
|resource string for this child frame's menu (NULL = 'use default') |
|menu handler for this child frame's menu (NULL = 'use default') |
|message callback function pointer (can be NULL) |
|void(*||destructor )(struct __WBChildFrame__ *)|
|pointer to a 'superclass' destructor. If not NULL, will be called by FWDestroyChildFrame() |
|struct __WBChildFrameUI__ *||pUI|
|pointer to 'WBChildFrameUI' function pointer table (assigned by 'superclass') |
|struct __WBChildFrame__ *||pNext|
|'Next Object' pointer in an internally stored linked list (do not alter or use this) |
Structure that defines a Child Frame within a Frame Window.
The WBFWMenuHandler structure is designed to be initialized via macros, so that a set of callback functions can then be easily used to handle menu events. If no menu handler is present for a menu item, or if the menu UI handler is NOT NULL and returns a non-zero value, the menu item will be disabled and displayed accordingly. It will not be possible to use its hotkey nor select it. Otherwise, the menu will be displayed normally and be selectable, and its hotkey will be able to activate it.
NOTE: you should not attempt to modify any of these structure members directly. Use the appropriate API functions to modify their values. If this were C++, these members would be marked 'protected'.