1XtRegisterDrawable(3) XT FUNCTIONS XtRegisterDrawable(3)
2
3
4
6 XtRegisterDrawable - register a drawable with the Intrinsics event dis‐
7 patcher
8
10 #include <X11/Intrinsic.h>
11
12 void XtRegisterDrawable(Display* display, Drawable drawable, Widget
13 widget);
14
15 void XtUnregisterDrawable(Display* display, Drawable drawable);
16
18 display Specifies the drawable's display.
19
20 drawable Specifies the drawable to register.
21
22 widget Specifies the widget to register the drawable for.
23
25 XtRegisterDrawable associates the specified drawable with the specified
26 widget so that future calls to XtWindowToWidget with the drawable will
27 return the widget. The default event dispatcher will dispatch future
28 core events that arrive with the drawable to the widget as though the
29 event contained the widget's window, but the event itself will not be
30 changed in any way when being passed to even handler or action proce‐
31 dures.
32
33 If the drawable is already registered with another widget, or if the
34 drawable is the window of a widget in the client's widget tree, the
35 results of calling XtRegisterDrawable are undefined.
36
37 XtUnregisterDrawable removes an association created with XtRegister‐
38 Drawable. If the drawable is the window of a widget in the client's
39 widget tree the results of calling XtUnregisterDrawable are undefined.
40
42 X Toolkit Intrinsics - C Language Interface
43 Xlib - C Language X Interface
44
45
46
47X Version 11 libXt 1.2.0 XtRegisterDrawable(3)