|
void | WBDialogControlsInit (void) |
| Initialization function for dialog controls. More...
|
|
WBDialogControl * | WBDialogControlCreate (Atom aClass, WBDialogWindow *pOwner, WBDialogEntry *pDialogEntry, int iX, int iY, int iWidth, int iHeight, const char *szTitle, const char *szPropertyList) |
| Create a dialog control window. More...
|
|
void | DLGRegisterControlCallback (WBDialogControl *pDialogControl, const char *szClassName, WBWinEvent pCallback) |
| Register the dialog control's callback function and class name. More...
|
|
static __inline__ void | WBDialogControlInvalidateGeom (WBDialogControl *pDialogControl, const WB_GEOM *pGeom, int bPaintFlag) |
| Convenience function, invalidates a Geom for a dialog box control. More...
|
|
static __inline__ void | WBDialogControlInvalidateRegion (WBDialogControl *pDialogControl, Region rgn, int bPaintFlag) |
| Convenience function, invalidates a region for a dialog box control. More...
|
|
int | WBDialogControlSetDialogProp (WBDialogControl *pCtrl, WB_DIALOG_PROP *pPropVal) |
| Low-level dialog control property assignment. More...
|
|
void | WBDialogControlDelDialogProp (WBDialogControl *pCtrl, Atom aProp) |
| Low-level dialog control property removal. More...
|
|
const WB_DIALOG_PROP * | WBDialogControlGetDialogProp (WBDialogControl *pCtrl, Atom aProp) |
| Low-level dialog control property retrieval. More...
|
|
static __inline__ const WBDialogPropList * | WBDialogControlGetPropList (WBDialogControl *pCtrl) |
| Low-level dialog control property list retrieval. More...
|
|
int | WBDialogControlSetPropList (WBDialogControl *pCtrl, const char *szPropList) |
| Mid-level dialog control property list assignment. More...
|
|
int | WBDialogControlSetProperty (WBDialogControl *pCtrl, Atom aPropName, const char *szPropVal) |
| Mid-level dialog control property assignment (character string) More...
|
|
void | WBDialogControlSetProperty2 (WBDialogControl *pCtrl, Atom aPropName, void *szPropVal) |
| Mid-level dialog control property list assignment (generic pointer) More...
|
|
const char * | WBDialogControlGetProperty (WBDialogControl *pCtrl, Atom aPropName) |
| Mid-level dialog control property retrieval (character string) More...
|
|
void * | WBDialogControlGetProperty2 (WBDialogControl *pCtrl, Atom aPropName) |
| Mid-level dialog control property list retrieval (generic pointer) More...
|
|
static __inline__ WBDialogControl * | DLGGetDialogControlStruct (Window wID) |
| Returns a pointer to the WBDialogControl structure for a dialog control with validation. May return NULL. More...
|
|
static __inline__ WBDialogControl * | WBGetDialogEntryControlStruct (WBDialogWindow *pDialog, int iControlID) |
| Returns a pointer to the WBDialogControl structure for a dialog control based on its ID and containing Dialog Window. May return NULL. More...
|
|
const char * | WBDialogControlGetCaption (WBDialogControl *pCtrl) |
| Obtain a pointer to the assigned text for the 'CAPTION' property of a dialog control. More...
|
|
void | WBDialogControlSetCaption (WBDialogControl *pCtrl, const char *szCaption) |
| Assign text to the 'CAPTION' property of a dialog control. More...
|
|
static __inline__ int | WBDialogControlGetCaptionInt (WBDialogControl *pCtrl) |
| Returns an integer from the text of the 'CAPTION' property of a dialog control. More...
|
|
static __inline__ void | WBDialogControlSetCaptionInt (WBDialogControl *pCtrl, int iValue, const char *szFormat) |
| Assign an integer as text to the 'CAPTION' property of a dialog control. More...
|
|
static __inline__ long | WBDialogControlGetCaptionLong (WBDialogControl *pCtrl) |
| Returns a long integer from the text of the 'CAPTION' property of a dialog control. More...
|
|
static __inline__ void | WBDialogControlSetCaptionLong (WBDialogControl *pCtrl, long lValue, const char *szFormat) |
| Assign a long integer as text to the 'CAPTION' property of a dialog control. More...
|
|
void | WBDialogControlSetPixmap (WBDialogControl *pCtrl, Pixmap pixmap) |
| Assign the PIXMAP (image) property for a control. More...
|
|
Pixmap | WBDialogControlGetPixmap (WBDialogControl *pCtrl) |
| Obtain the assigned PIXMAP (image) property for a control. More...
|
|
void | WBDialogControlSetIconPixmap (WBDialogControl *pCtrl, Pixmap pixmap, Pixmap pixmap2) |
| Assign the ICON (image) property for a control, which consists of 2 pixmaps. More...
|
|
Pixmap | WBDialogControlGetIconPixmap (WBDialogControl *pCtrl, Pixmap *pPixmap2) |
| Obtain the assigned ICON (image) property for a control, which consists of 2 pixmaps. More...
|
|
void | WBDialogControlSetCheck (WBDialogControl *pCtrl, int iCheck) |
| Assign the TEXT property for a control, which is different from the CAPTION or Title. More...
|
|
int | WBDialogControlGetCheck (WBDialogControl *pCtrl) |
| Retrieve the 'CHECKED' property from a dialog control. Returns '0' (un-checked) if not applicable. More...
|
|
static __inline__ void | WBDialogControlSetText (WBDialogControl *pCtrl, const char *szText) |
| Assign the TEXT property for a control, which is different from the CAPTION or Title. More...
|
|
static __inline__ const char * | WBDialogControlGetText (WBDialogControl *pCtrl) |
| Obtain the assigned TEXT property for a control, which is different from the CAPTION or Title. More...
|
|
static __inline__ WBDialogControl * | DLGGetDialogControlStructFromID (WBDialogWindow *pDialog, int iControlID) |
| Returns a pointer to the WBDialogControl structure for a dialog control with validation. May return NULL. More...
|
|
static __inline__ void | DLGSetControlCaption (WBDialogWindow *pDialog, int iControlID, const char *szCaption) |
| Convenience function to assign a dialog control's caption based on its control ID. More...
|
|
static __inline__ const char * | DLGGetControlCaption (WBDialogWindow *pDialog, int iControlID) |
| Convenience function to query a dialog control's caption based on its control ID. More...
|
|
static __inline__ void | DLGSetControlText (WBDialogWindow *pDialog, int iControlID, const char *szText) |
| Convenience function to assign a dialog control's TEXT based on its control ID. More...
|
|
static __inline__ const char * | DLGGetControlText (WBDialogWindow *pDialog, int iControlID) |
| Convenience function to query a dialog control's TEXT based on its control ID. More...
|
|
static __inline__ int | DLGSetControlProperty (WBDialogWindow *pDialog, int iControlID, Atom aPropName, const char *szPropVal) |
| Convenience function to assign a text property for a dialog control based on its control ID. More...
|
|
static __inline__ const char * | DLGGetControlProperty (WBDialogWindow *pDialog, int iControlID, Atom aPropName) |
| Convenience function to query a text property for a dialog control based on its control ID. More...
|
|
void * | DLGCDefaultListInfoAllocator (const void *pData, int cbData) |
| The default 'List Info' data allocator for a control's list info. More...
|
|
const char * | DLGGetControlListText (WBDialogControl *pCtrl, int iIndex) |
| Retrieve the text poiner for a single list entry (listbox, combo, and tree controls only) More...
|
|
const void * | DLGGetControlListData (WBDialogControl *pCtrl, int iIndex) |
| Retrieve the data pointer for a single list entry (listbox, combo, and tree controls only) More...
|
|
int | DLGInitControlListInfo (WBDialogControl *pCtrl, int nFlags, void *(*pfnAllocator)(const void *, int), void(*pfnDestructor)(void *), void(*pfnDisplay)(WBDialogControl *, void *, int, WBGC, WB_GEOM *, WB_FONTC), int(*pfnSort)(const void *, const void *)) |
| Initialize the 'List Entry' for a control, specifying various callbacks and flags. More...
|
|
int | DLGModifyControlListInfo (WBDialogControl *pCtrl, int bFlags, int nFlags, int bAllocator, void *(*pfnAllocator)(const void *, int), int bDestructor, void(*pfnDestructor)(void *), int bDisplay, void(*pfnDisplay)(WBDialogControl *, void *, int, WBGC, WB_GEOM *, WB_FONTC), int bSort, int(*pfnSort)(const void *, const void *)) |
| Modify the 'List Entry' for a control, specifying various callbacks and flags. More...
|
|
int | DLGAddControlListEntry (WBDialogControl *pCtrl, const char *pData, long cbData, int iIndex) |
| Add a list entry to a control's list info. More...
|
|
void | DLGDelControlListEntry (WBDialogControl *pCtrl, int iIndex) |
| Delete a list entry from a control's list info at a specified index (or deletes ALL entries) More...
|
|
int | DLGGetControlListSelection (WBDialogControl *pCtrl) |
| Obtain the current selection index for a single-selection list. More...
|
|
void | DLGSetControlListSelection (WBDialogControl *pCtrl, int iIndex) |
| Assign the current selection index for a single-selection list. More...
|
|
void | DLGSetControlListSelectionValue (WBDialogControl *pCtrl, int iIndex, int iSelState) |
| Assign the selection state for a specific index within a control's list info. More...
|
|
int | DLGGetControlListSelectionBits (WBDialogControl *pCtrl, unsigned int *piBits, int nSize) |
| Query the selection state for multiple items within a control's list info. More...
|
|
char * | DLGGetControlListSelectionText (WBDialogControl *pCtrl) |
| Query the selection text as multiple strings in an allocated buffer. More...
|
|
int | DLGScrollBarHandler (Window wID, WBDialogControl *pCtrl, XEvent *pEvent) |
| Scroll bar event filter for dialog control callback function. Generates scroll events. More...
|
|
static __inline__ void | DLGNotifyOwner (WBDialogControl *pDialogControl, Atom aNotify, long lData0, long lData1, long lData2, long lData3, long lData4) |
| Notify Owner by calling the owner window's callback function directly with an event. More...
|
|
static __inline__ void | DLGNotifySelf (WBDialogControl *pDialogControl, Atom aNotify, long lData0, long lData1, long lData2, long lData3, long lData4) |
| Notify 'self' by calling the window's own callback function directly with an event. More...
|
|
static __inline__ void | DLGNotifyOwnerAsync (WBDialogControl *pDialogControl, Atom aNotify, long lData0, long lData1, long lData2, long lData3, long lData4) |
| Notify Owner by posting an event that will ASYNCHRONOUSLY be sent to the owner window's callback function. More...
|
|
static __inline__ void | DLGNotifySelfAsync (WBDialogControl *pDialogControl, Atom aNotify, long lData0, long lData1, long lData2, long lData3, long lData4) |
| Notify 'self' by posting an event that will ASYNCHRONOUSLY be sent to the window's callback function. More...
|
|
|
const Atom | aFRAME_CONTROL |
| Standard Dialog Control - transparent frame with optional text - see FRAME_CONTROL_STR.
|
|
const Atom | aTEXT_CONTROL |
| Standard Dialog Control - static text (single or multi-line) - see TEXT_CONTROL_STR.
|
|
const Atom | aICON_CONTROL |
| Standard Dialog Control - icon container (has a nice 3D border) - see ICON_CONTROL_STR.
|
|
const Atom | aIMAGE_CONTROL |
| Standard Dialog Control - generic image/pixmap holder - see IMAGE_CONTROL_STR.
|
|
const Atom | aEDIT_CONTROL |
| Standard Dialog Control - editable text (single or multi-line, scrollable, clipboard) - see EDIT_CONTROL_STR.
|
|
const Atom | aPUSHBUTTON_CONTROL |
| Standard Dialog Control - Pushbutton control - see PUSHBUTTON_CONTROL_STR.
|
|
const Atom | aDEFPUSHBUTTON_CONTROL |
| Standard Dialog Control - default Pushbutton control (has dark border, accepts <ENTER> as hotkey) - see DEFPUSHBUTTON_CONTROL_STR.
|
|
const Atom | aCANCELBUTTON_CONTROL |
| Standard Dialog Control - cancel pushbutton control (accepts <ESC> as hotkey) - see CANCELBUTTON_CONTROL_STR.
|
|
const Atom | aRADIOBUTTON_CONTROL |
| Standard Dialog Control - radio button - see RADIOBUTTON_CONTROL_STR.
|
|
const Atom | aFIRSTRADIOBUTTON_CONTROL |
| Standard Dialog Control - 'first' radio button - defines start of radio button 'group' - see FIRSTRADIOBUTTON_CONTROL_STR.
|
|
const Atom | aCHECKBUTTON_CONTROL |
| Standard Dialog Control - check[box] button - push-on/push-off with 'check mark' (or whatever) - see CHECKBUTTON_CONTROL_STR.
|
|
const Atom | aTRISTATEBUTTON_CONTROL |
| Standard Dialog Control - tristate - like check, but with a third state - see TRISTATEBUTTON_CONTROL_STR.
|
|
const Atom | aHSCROLL_CONTROL |
| Standard Dialog Control - horizontal scroll - see HSCROLL_CONTROL_STR.
|
|
const Atom | aVSCROLL_CONTROL |
| Standard Dialog Control - vertical scroll - see VSCROLL_CONTROL_STR.
|
|
const Atom | aSLIDER_CONTROL |
| Standard Dialog Control - volume control (slider bar) (h or v depending on geometry) - see SLIDER_CONTROL_STR.
|
|
const Atom | aKNOB_CONTROL |
| Standard Dialog Control - "volume knob" (270 degrees of rotation, left to right) - see KNOB_CONTROL_STR.
|
|
const Atom | aLIST_CONTROL |
| Standard Dialog Control - list - single, multi, extended select (h, v, multicol) - see LIST_CONTROL_STR.
|
|
const Atom | aCOMBO_CONTROL |
| Standard Dialog Control - classic 'combo box' control - see COMBO_CONTROL_STR.
|
|
const Atom | aTREE_CONTROL |
| Standard Dialog Control - class 'tree' control - see TREE_CONTROL_STR.
|
|
const Atom | aCOMBOTREE_CONTROL |
| Standard Dialog Control - 'combo tree' (tree with interlocked edit/text box like combo box) - see COMBOTREE_CONTROL_STR.
|
|
const Atom | aFILE_LIST_CONTROL |
| Standard Dialog Control - File List - see FILE_LIST_CONTROL_STR.
|
|
const Atom | aFILE_COMBO_CONTROL |
| Standard Dialog Control - file combo control - see FILE_COMBO_CONTROL_STR.
|
|
const Atom | aPATH_TREE_CONTROL |
| Standard Dialog Control - path tree - directory hierarchy - see PATH_TREE_CONTROL_STR.
|
|
const Atom | aTAB_CONTROL |
| Standard Dialog Control -'tab' container (auto enable/disable contents) - see TAB_CONTROL_STR.
|
|
const Atom | aBUTTON_PRESS |
| CONTROL_NOTIFY ClientMessage for BUTTON_PRESS event. More...
|
|
const Atom | aLIST_NOTIFY |
| CONTROL_NOTIFY ClientMessage for LIST_NOTIFY event. More...
|
|
const Atom | aTEXT_CHANGED |
| CONTROL_NOTIFY ClientMessage for TEXT_CHANGED event. More...
|
|
const Atom | aTEXTSELECT_CHANGE |
| CONTROL_NOTIFY ClientMessage for TEXTSELECT_CHANGE event. More...
|
|
const Atom | aMOUSE_CLICK |
| CONTROL_NOTIFY ClientMessage for MOUSE_CLICK event. More...
|
|
const Atom | aMOUSE_DBLCLICK |
| CONTROL_NOTIFY ClientMessage for MOUSE_DBLCLICK event. More...
|
|
const Atom | aMOUSE_DRAG |
| CONTROL_NOTIFY ClientMessage for MOUSE_DRAG event. More...
|
|
const Atom | aGOTFOCUS |
| CONTROL_NOTIFY ClientMessage for GOTFOCUS event. More...
|
|
const Atom | aLOSTFOCUS |
| CONTROL_NOTIFY ClientMessage for LOSTFOCUS event. More...
|
|
const Atom | aKEY_DOWN |
| CONTROL_NOTIFY ClientMessage for KEY_DOWN event. More...
|
|
const Atom | aKEY_UP |
| CONTROL_NOTIFY ClientMessage for KEY_UP event. More...
|
|
const Atom | aKEYSTROKE |
| CONTROL_NOTIFY ClientMessage for KEYSTROKE event. More...
|
|
const Atom | aDIALOG_INIT |
| DIALOG_INIT ClientMessage, sent to dialog window callback on frame create. More...
|
|
const Atom | aDLGC_PROP_NOTIFY |
| DLGC_PROP_NOTIFY ClientMessage, notify control of property change. More...
|
|
const Atom | aDLGC_TEXT |
| dialog control TEXT property - see WBDialogControlGetText() More...
|
|
const Atom | aDLGC_CONTROL_GET |
| CONTROL_GET ClientMessage - use this to get specific supported control properties by sending it to the control's window callback. More...
|
|
const Atom | aDLGC_CONTROL_SET |
| CONTROL_SET ClientMessage - use this to set specific supported control properties by sending it to the control's window callback. More...
|
|
Atom | aDLGC_PATH |
| dialog control PATH property, for file and directory controls More...
|
|