1XtRegisterDrawable(3)            XT FUNCTIONS            XtRegisterDrawable(3)
2
3
4

NAME

6       XtRegisterDrawable - register a drawable with the Intrinsics event dis‐
7       patcher
8

SYNTAX

10       void XtRegisterDrawable(Display* display, Drawable drawable, Widget
11              widget);
12
13       void XtUnregisterDrawable(Display* display, Drawable drawable);
14

ARGUMENTS

16       display   Specifies the drawable's display.
17
18       drawable  Specifies the drawable to register.
19
20       widget    Specifies the widget to register the drawable for.
21

DESCRIPTION

23       XtRegisterDrawable associates the specified drawable with the specified
24       widget so that future calls to XtWindowToWidget with the drawable will
25       return the widget. The default event dispatcher will dispatch future
26       core events that arrive with the drawable to the widget as though the
27       event contained the widget's window, but the event itself will not be
28       changed in any way when being passed to even handler or action proce‐
29       dures.
30
31       If the drawable is already registered with another widget, or if the
32       drawable is the window of a widget in the client's widget tree, the
33       results of calling XtRegisterDrawable are undefined.
34
35       XtUnregisterDrawable removes an association created with XtRegister‐
36       Drawable.  If the drawable is the window of a widget in the client's
37       widget tree the results of calling XtUnregisterDrawable are undefined.
38

SEE ALSO

40       X Toolkit Intrinsics - C Language Interface
41       Xlib - C Language X Interface
42
43
44
45X Version 11                      libXt 1.1.5            XtRegisterDrawable(3)
Impressum