X11 Work Bench Toolkit  1.0
CONTROL NOTIFY Atoms for dialog controls

Variables

Atom aBUTTON_PRESS
 CONTROL_NOTIFY ClientMessage for BUTTON_PRESS event. More...
 
Atom aLIST_NOTIFY
 CONTROL_NOTIFY ClientMessage for LIST_NOTIFY event. More...
 
Atom aTEXT_CHANGED
 CONTROL_NOTIFY ClientMessage for TEXT_CHANGED event. More...
 
Atom aTEXTSELECT_CHANGE
 CONTROL_NOTIFY ClientMessage for TEXTSELECT_CHANGE event. More...
 
Atom aGOTFOCUS
 CONTROL_NOTIFY ClientMessage for GOTFOCUS event. More...
 
Atom aLOSTFOCUS
 CONTROL_NOTIFY ClientMessage for LOSTFOCUS event. More...
 
Atom aMOUSE_DOWN
 CONTROL_NOTIFY ClientMessage for MOUSE_DOWN event. More...
 
Atom aMOUSE_UP
 CONTROL_NOTIFY ClientMessage for MOUSE_UP event. More...
 
Atom aMOUSE_DRAG
 CONTROL_NOTIFY ClientMessage for MOUSE_DRAG event. More...
 
Atom aKEY_DOWN
 CONTROL_NOTIFY ClientMessage for KEY_DOWN event. More...
 
Atom aKEY_UP
 CONTROL_NOTIFY ClientMessage for KEY_UP event. More...
 
Atom aKEYSTROKE
 CONTROL_NOTIFY ClientMessage for KEYSTROKE event. More...
 
Atom aLIST_SELCHANGE
 LIST_SELCHANGE ClientMessage, notify self of list selection change. More...
 
#define WB_LIST_NONE   0
 
#define WB_LIST_SELCHANGE   1
 
#define WB_LIST_DBLCLICK   2
 

Detailed Description

Control Notification (ClientMessage) Atoms for standard dialog controls using the aCONTROL_NOTIFY atom as the message type.

Macro Definition Documentation

#define WB_LIST_DBLCLICK   2

double click by default drives an 'End Dialog' with IDOK

Definition at line 951 of file dialog_controls.h.

#define WB_LIST_NONE   0

'default' notification value (no action needed)

Definition at line 947 of file dialog_controls.h.

#define WB_LIST_SELCHANGE   1

simple notification that the selection has changed

Definition at line 949 of file dialog_controls.h.

Variable Documentation

Atom aBUTTON_PRESS

CONTROL_NOTIFY ClientMessage for BUTTON_PRESS event.

BUTTON PRESS message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aBUTTON_PRESS
data.l[1] == Control ID of originating conrol window
data.l[2] == truncated (32-bit) pointer to WBDialogControl structure

Definition at line 218 of file dialog_support.c.

Atom aGOTFOCUS

CONTROL_NOTIFY ClientMessage for GOTFOCUS event.

GOT FOCUS message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aGOTFOCUS
data.l[1] == Control ID of originating conrol window
data.l[2] == truncated (32-bit) pointer to WBDialogConrol structure

Definition at line 273 of file dialog_support.c.

Atom aKEY_DOWN

CONTROL_NOTIFY ClientMessage for KEY_DOWN event.

KEY DOWN message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aKEY_DOWN
data.l[1] == Control ID of originating conrol window
data.l[2] == reserved (TODO: implement or remove?)

Definition at line 338 of file dialog_support.c.

Atom aKEY_UP

CONTROL_NOTIFY ClientMessage for KEY_UP event.

KEY UP message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aKEY_UP
data.l[1] == Control ID of originating conrol window
data.l[2] == reserved (TODO: implement or remove?)

Definition at line 351 of file dialog_support.c.

Atom aKEYSTROKE

CONTROL_NOTIFY ClientMessage for KEYSTROKE event.

KEYSTROKE message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aKEYSTROKE
data.l[1] == Control ID of originating conrol window
data.l[2] == reserved (TODO: implement or remove?)

Definition at line 364 of file dialog_support.c.

Atom aLIST_NOTIFY

CONTROL_NOTIFY ClientMessage for LIST_NOTIFY event.

LIST NOTIFY message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aLIST_NOTIFY
data.l[1] == Control ID of originating conrol window
data.l[2] == notification code (one of WB_LIST_NONE, WB_LIST_SELCHANGE, or WB_LIST_DBLCLICK)
data.l[3] == currently highlighted (selected) item in list, -1 if none

Definition at line 232 of file dialog_support.c.

Atom aLIST_SELCHANGE

LIST_SELCHANGE ClientMessage, notify self of list selection change.

LIST_SELCHANGE message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aLIST_SELCHANGE
format == 32 (always)
data.l[0] == New selection index
data.l[1] == Old selection index

Definition at line 400 of file dialog_support.c.

Atom aLOSTFOCUS

CONTROL_NOTIFY ClientMessage for LOSTFOCUS event.

LOST FOCUS message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aLOSTFOCUS
data.l[1] == Control ID of originating conrol window
data.l[2] == truncated (32-bit) pointer to WBDialogConrol structure

Definition at line 286 of file dialog_support.c.

Atom aMOUSE_DOWN

CONTROL_NOTIFY ClientMessage for MOUSE_DOWN event.

MOUSE DOWN message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aMOUSE_DOWN
data.l[1] == Control ID of originating conrol window
data.l[2] == reserved (TODO: implement or remove?)

Definition at line 299 of file dialog_support.c.

Atom aMOUSE_DRAG

CONTROL_NOTIFY ClientMessage for MOUSE_DRAG event.

MOUSE DRAG message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aMOUSE_DRAG
data.l[1] == Control ID of originating conrol window
data.l[2] == reserved (TODO: implement or remove?)

Definition at line 325 of file dialog_support.c.

Atom aMOUSE_UP

CONTROL_NOTIFY ClientMessage for MOUSE_UP event.

MOUSE UP message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aMOUSE_UP
data.l[1] == Control ID of originating conrol window
data.l[2] == reserved (TODO: implement or remove?)

Definition at line 312 of file dialog_support.c.

Atom aTEXT_CHANGED

CONTROL_NOTIFY ClientMessage for TEXT_CHANGED event.

TEXT CHANGED message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aTEXT_CHANGED
data.l[1] == Control ID of originating conrol window
data.l[2] == truncated (32-bit) pointer to WBDialogConrol structure

Definition at line 245 of file dialog_support.c.

Atom aTEXTSELECT_CHANGE

CONTROL_NOTIFY ClientMessage for TEXTSELECT_CHANGE event.

TEXTSELECT CHANGE message format (relative to XEvent.xclient)
type == ClientMessage
message_type == aCONTROL_NOTIFY
format == 32 (always)
data.l[0] == aTEXTSELECT_CHANGE
data.l[1] == Control ID of originating conrol window
data.l[2] == reserved (TODO: implement)
data.l[3] == reserved (TODO: implement)
data.l[4] == reserved (TODO: implement)

Definition at line 260 of file dialog_support.c.