gnu.x11
Class Window

java.lang.Object
  extended by gnu.x11.Resource
      extended by gnu.x11.Drawable
          extended by gnu.x11.Window
All Implemented Interfaces:
GLXDrawable

public class Window
extends Drawable
implements GLXDrawable

X window.


Nested Class Summary
static class Window.Attributes
          X window attributes.
static class Window.AttributesReply
          Reply of attributes().
static class Window.Changes
          X window changes.
 class Window.Coordinates
          Reply of translate_coordinates(Window, int, int).
 class Window.PointerInfo
          Reply of #pointer().
 class Window.Property
          Reply of #property(boolean, Atom, Atom, int, int).
static class Window.TimeCoord
           
 class Window.TreeInfo
          Reply of tree().
static class Window.WMClassHint
          X window manager class hint.
static class Window.WMHints
          X window manager hints.
static class Window.WMSizeHints
          X window manager size hints.
static class Window.WMState
          X window manager state.
 
Nested classes/interfaces inherited from class gnu.x11.Drawable
Drawable.GeometryInfo
 
Field Summary
static int ALREADY_GRABBED
           
static int ANY_BUTTON
           
static int ANY_KEY
           
static int ANY_MODIFIER
           
static int APPEND
           
static int ASYNCHRONOUS
           
static int COPY_FROM_PARENT
           
static int DELETE
           
static int FROZEN
           
static int INPUT_ONLY
           
static int INPUT_OUTPUT
           
static int INSERT
           
static int INVALID_TIME
           
static int LOWER_HIGHEST
           
static int MAX_WM_LENGTH
           
static Window NONE
          Predefined windows.
static int NOT_VIEWABLE
           
 Window parent
           
static Window POINTER_ROOT
           
static int PREPEND
           
static int RAISE_LOWEST
           
static int REPLACE
           
static int SUCCESS
           
static int SYNCHRONOUS
           
static int TO_NONE
           
static int TO_PARENT
           
static int TO_POINTER_ROOT
           
 int x
           
 int y
           
 
Fields inherited from class gnu.x11.Drawable
COMPLEX, CONVEX, CURSOR, height, NONCONVEX, ORIGIN, PREVIOUS, STIPPLE, TILE, width
 
Fields inherited from class gnu.x11.Resource
display, id
 
Constructor Summary
Window(Display display, int id)
          Intern.
Window(int id)
          Predefined.
Window(Window parent, int x, int y, int width, int height)
          Initialize member fields only without creating object in X server.
Window(Window parent, int x, int y, int width, int height, int border_width, Window.Attributes attr)
           
Window(Window parent, Rectangle geometry)
           
Window(Window parent, Rectangle geometry, int border_width, Window.Attributes attr)
           
 
Method Summary
 Window.AttributesReply attributes()
           
 void change_attributes(Window.Attributes attr)
          This request will be aggregated.
 void change_property(Atom property, Atom type, int data)
           
 void change_property(int mode, Atom property, Atom type, int format, java.lang.Object data, int offset, int data_format)
          Extra parameters (offset and data_format) are used to support Data class as parameter for writing.
 void change_save_set(boolean mode)
           
 void circulate_window(int direction)
           
 void clear_area(int x, int y, int width, int height, boolean exposures)
           
 void clear(boolean exposures)
           
 void configure(Window.Changes changes)
          This request will be aggregated.
 void convert_selection(Atom selection, Atom target, Atom property, int time)
           
 void create()
           
 void create(int border_width, int depth, int klass, int visual_id, Window.Attributes attr)
           
 void create(int border_width, Window.Attributes attr)
           
 void delete_property(Atom property)
           
 void delete()
           
 void destroy_subwindows()
           
 void destroy()
           
 void flip()
           
 Window.TimeCoord[] get_motion_events(int start, int stop)
           
 Window.Property get_property(boolean delete, Atom property, Atom type, int offset, int length)
           
 void grab_button_ignore_locks(int button, int modifiers, boolean owner_events, int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor)
          Grab button ignoring caps lock (LOCK), num lock (MOD2), and scroll lock (MOD5).
 void grab_button(int button, int modifiers, boolean owner_events, int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor)
           
 void grab_key_ignore_locks(int keysym, int modifiers, boolean owner_events, int pointer_mode, int keyboard_mode)
          Grab key ignoring caps lock (LOCK), num lock (MOD2), and scroll lock (MOD5).
 void grab_key(int keysym, int modifiers, boolean owner_events, int pointer_mode, int keyboard_mode)
           
 int grab_keyboard(boolean owner_events, int pointer_mode, int keyboard_mode, int time)
           
 int grab_pointer(boolean owner_events, int event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor, int time)
           
 void iconify()
           
 int id()
          Returns the resource ID of this resource.
static java.lang.Object intern(Display display, int id)
           
 void kill()
           
 Colormap[] list_installed_colormaps()
           
 void lower()
           
 void map_subwindows()
           
 void map()
           
 void move_resize()
           
 void move_resize(int x, int y, int width, int height)
           
 void move_resize(Rectangle rectangle)
           
 void move()
           
 void move(int x, int y)
           
 Atom[] properties()
           
 Window.PointerInfo query_pointer()
           
 void raise()
           
 Rectangle rectangle()
           
 void reparent(Window parent, int x, int y)
           
 void resize()
           
 void resize(int width, int height)
           
 boolean resized(Rectangle r)
           
 void rotate_properties(Atom[] properties, int delta)
           
 Screen screen()
           
 void select_input(int event_mask)
           
 void send_event(boolean propagate, int event_mask, Event event)
           
 void set_background(Color c)
           
 void set_background(int pixel)
           
 void set_background(Pixmap p)
           
 void set_border(Color c)
           
 void set_border(int pixel)
           
 void set_border(Pixmap p)
           
 void set_colormap(Colormap cmap)
           
 void set_geometry_cache(Rectangle r)
           
 void set_input_focus()
           
 void set_input_focus(int revert_to, int time)
           
 void set_selection_owner(Atom selection, int time)
           
 void set_wm_class_hint(java.lang.String res_name, java.lang.String res_class)
           
 void set_wm_class_hint(Window.WMClassHint class_hint)
           
 void set_wm_delete_window()
           
 void set_wm_hints(Window.WMHints wm_hints)
           
 void set_wm_name(java.lang.String wm_name)
           
 void set_wm_normal_hints(Window.WMSizeHints size_hints)
           
 void set_wm_protocol(java.lang.String name)
           
 void set_wm_state(int state)
           
 void set_wm_state(int state, Window icon)
           
 void set_wm_state(Window.WMState state)
           
 void set_wm(java.lang.Object app, java.lang.String topic)
          A standard way to set wm class hint and name in Java.
 java.lang.String toString()
           
 Window.Coordinates translate_coordinates(Window src, int src_x, int src_y)
           
 Window.TreeInfo tree()
           
 void ungrab_button(int button, int modifiers)
           
 void ungrab_key(int keysym, int modifiers)
           
 void unmap_subwindows()
           
 void unmap()
           
 void warp_pointer(int x, int y)
           
 void warp_pointer(Point position)
           
 void warp_pointer(Window src, int src_x, int src_y, int src_width, int src_height, int dest_x, int dest_y)
           
 Window.WMClassHint wm_class_hint()
           
 Window.WMHints wm_hints()
           
 java.lang.String wm_name()
           
 Window.WMSizeHints wm_normal_hints()
           
 boolean wm_protocol(java.lang.String name)
           
 int[] wm_protocols()
           
 Window.WMState wm_state()
           
 
Methods inherited from class gnu.x11.Drawable
arc, best_size, copy_area, copy_plane, fill_arc, fill_poly, fill_poly, fill_rectangle, get_geometry, image_text, image_text16, image, line, point, poly_arc, poly_fill_arc, poly_line, poly_line, poly_line, poly_point, poly_point, poly_rectangle, poly_segment, poly_text, poly_text16, put_image, put_small_image, rectangle, rectangle, segment, text, text16, text8
 
Methods inherited from class gnu.x11.Resource
unintern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final Window NONE
Predefined windows.

All predefined resources are not "properly" initialzied, in the sense that member variable display is null. That is, they are not connected to any X server, and cannot be used for server interaction (because display == null, resulting in NullPointerException).

For special operations like setting selection owner to NONE, do:


   Window.NONE.display = ...;
   Window.NONE.set_selection_owner (...);
 

We could make these predefined resources members of Display class, and could initialize them properly for each Display instance. It would prevent programmers from the mistake described above. However, predefined resources are not designed in the first place for server interaction. For example, you cannot draw a line on Window.POINTER_WINDOW. Second, it is a better classification to put predefined resources in their respective classes. Third, it is cheaper to have predefined resources as static final objects.

Note also that, consequently, predefined resources are not interned to Display.resource. For example, Window.intern (this, 0) will not return static variable NONE. Instead it creates a new Window object which sequential intern calls will return. As a side effect, Window equality should not be tested with == operator; it should be tested easily as this_window.id == that_window.id.


x

public int x

y

public int y

parent

public Window parent

COPY_FROM_PARENT

public static final int COPY_FROM_PARENT
See Also:
Constant Field Values

INPUT_OUTPUT

public static final int INPUT_OUTPUT
See Also:
Constant Field Values

INPUT_ONLY

public static final int INPUT_ONLY
See Also:
Constant Field Values

INSERT

public static final int INSERT
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

RAISE_LOWEST

public static final int RAISE_LOWEST
See Also:
Constant Field Values

LOWER_HIGHEST

public static final int LOWER_HIGHEST
See Also:
Constant Field Values

REPLACE

public static final int REPLACE
See Also:
Constant Field Values

PREPEND

public static final int PREPEND
See Also:
Constant Field Values

APPEND

public static final int APPEND
See Also:
Constant Field Values

SYNCHRONOUS

public static final int SYNCHRONOUS
See Also:
Constant Field Values

ASYNCHRONOUS

public static final int ASYNCHRONOUS
See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values

ALREADY_GRABBED

public static final int ALREADY_GRABBED
See Also:
Constant Field Values

INVALID_TIME

public static final int INVALID_TIME
See Also:
Constant Field Values

NOT_VIEWABLE

public static final int NOT_VIEWABLE
See Also:
Constant Field Values

FROZEN

public static final int FROZEN
See Also:
Constant Field Values

ANY_BUTTON

public static final int ANY_BUTTON
See Also:
Constant Field Values

ANY_MODIFIER

public static final int ANY_MODIFIER
See Also:
Constant Field Values

ANY_KEY

public static final int ANY_KEY
See Also:
Constant Field Values

POINTER_ROOT

public static final Window POINTER_ROOT

TO_NONE

public static final int TO_NONE
See Also:
Constant Field Values

TO_POINTER_ROOT

public static final int TO_POINTER_ROOT
See Also:
Constant Field Values

TO_PARENT

public static final int TO_PARENT
See Also:
Constant Field Values

MAX_WM_LENGTH

public static final int MAX_WM_LENGTH
See Also:
Constant Field Values
Constructor Detail

Window

public Window(int id)
Predefined.


Window

public Window(Display display,
              int id)
Intern.


Window

public Window(Window parent,
              Rectangle geometry)
See Also:
Window(Window, int, int, int, int)

Window

public Window(Window parent,
              Rectangle geometry,
              int border_width,
              Window.Attributes attr)
See Also:
Window(Window, int, int, int, int, int, Window.Attributes)

Window

public Window(Window parent,
              int x,
              int y,
              int width,
              int height)
Initialize member fields only without creating object in X server.


Window

public Window(Window parent,
              int x,
              int y,
              int width,
              int height,
              int border_width,
              Window.Attributes attr)
See Also:
create(int, int, int, int, Window.Attributes)
Method Detail

create

public void create(int border_width,
                   int depth,
                   int klass,
                   int visual_id,
                   Window.Attributes attr)
Parameters:
depth - possible: COPY_FROM_PARENT
klass - valid: COPY_FROM_PARENT, INPUT_OUTPUT, INPUT_ONLY
visual_id - possible: COPY_FROM_PARENT
See Also:
XCreateWindow

create

public void create(int border_width,
                   Window.Attributes attr)
See Also:
create(int, int, int, int, Window.Attributes)

create

public void create()
See Also:
create(int, Window.Attributes)

change_attributes

public void change_attributes(Window.Attributes attr)
This request will be aggregated.

See Also:
XChangeAttributes, aggregation

attributes

public Window.AttributesReply attributes()
See Also:
XGetAttributes

destroy

public void destroy()
See Also:
XDestroyWindow

destroy_subwindows

public void destroy_subwindows()
See Also:
XDestroySubwindows

change_save_set

public void change_save_set(boolean mode)
Parameters:
mode - valid: INSERT, DELETE
See Also:
XChangeSaveSet

reparent

public void reparent(Window parent,
                     int x,
                     int y)
See Also:
XReparentWindow

map

public void map()
See Also:
XMapWindow

map_subwindows

public void map_subwindows()
See Also:
XMapSubwindows

unmap

public void unmap()
See Also:
XUnmapWindow

unmap_subwindows

public void unmap_subwindows()
See Also:
XUnmapSubwindows

configure

public void configure(Window.Changes changes)
This request will be aggregated.

See Also:
XConfigureWindow, aggregation

circulate_window

public void circulate_window(int direction)
Parameters:
direction - valid: RAISE_LOWEST, LOWER_HIGHEST
See Also:
XCirculateSubwindows

tree

public Window.TreeInfo tree()
See Also:
XQueryTree

change_property

public void change_property(int mode,
                            Atom property,
                            Atom type,
                            int format,
                            java.lang.Object data,
                            int offset,
                            int data_format)
Extra parameters (offset and data_format) are used to support Data class as parameter for writing. See set_wm_normal_hints ().

Parameters:
mode - valid: REPLACE, PREPEND, APPEND
format: - valid: 8, 16, 32
data_format: - valid: 8, 16, 32
See Also:
XChangeProperty

delete_property

public void delete_property(Atom property)
See Also:
XDeleteProperty

get_property

public Window.Property get_property(boolean delete,
                                    Atom property,
                                    Atom type,
                                    int offset,
                                    int length)
See Also:
XGetWindowProperty

properties

public Atom[] properties()
Returns:
valid: Enum#next() of type Atom, Enum#next4()
See Also:
XRotateWindowProperties

set_selection_owner

public void set_selection_owner(Atom selection,
                                int time)
Parameters:
time - possible: Display.CURRENT_TIME
See Also:
XSetSelectionOwner

convert_selection

public void convert_selection(Atom selection,
                              Atom target,
                              Atom property,
                              int time)
Parameters:
time - possible: Display.CURRENT_TIME
See Also:
XConvertSelection

send_event

public void send_event(boolean propagate,
                       int event_mask,
                       Event event)
See Also:
XSendEvent

grab_pointer

public int grab_pointer(boolean owner_events,
                        int event_mask,
                        int pointer_mode,
                        int keyboard_mode,
                        Window confine_to,
                        Cursor cursor,
                        int time)
Parameters:
pointer_mode - valid: SYNCHRONOUS, ASYNCHRONOUS
keyboard_mode - valid: SYNCHRONOUS, ASYNCHRONOUS
confine_to - possible: NONE
cursor - possible: Cursor.NONE
time - possible: Display.CURRENT_TIME
Returns:
valid: SUCCESS, ALREADY_GRABBED, FROZEN, INVALID_TIME, NOT_VIEWABLE
See Also:
XGrabPointer

grab_button

public void grab_button(int button,
                        int modifiers,
                        boolean owner_events,
                        int event_mask,
                        int pointer_mode,
                        int keyboard_mode,
                        Window confine_to,
                        Cursor cursor)
Parameters:
button - possible: ANY_BUTTON
modifiers - possible: ANY_MODIFIER
pointer_mode - valid: SYNCHRONOUS, ASYNCHRONOUS
keyboard_mode - valid: SYNCHRONOUS, ASYNCHRONOUS
confine_to - possible: NONE
cursor - possible: Cursor.NONE
See Also:
XGrabButton

ungrab_button

public void ungrab_button(int button,
                          int modifiers)
Parameters:
button - possible: ANY_BUTTON
modifiers - possible: ANY_MODIFIER
See Also:
XUngrabButton

grab_keyboard

public int grab_keyboard(boolean owner_events,
                         int pointer_mode,
                         int keyboard_mode,
                         int time)
Parameters:
pointer_mode - valid: SYNCHRONOUS, ASYNCHRONOUS
keyboard_mode - valid: SYNCHRONOUS, ASYNCHRONOUS
time - possible: Display.CURRENT_TIME
Returns:
valid: SUCCESS, ALREADY_GRABBED, FROZEN, INVALID_TIME, NOT_VIEWABLE
See Also:
XGrabKeyboard

grab_key

public void grab_key(int keysym,
                     int modifiers,
                     boolean owner_events,
                     int pointer_mode,
                     int keyboard_mode)
Parameters:
modifiers - possible: ANY_MODIFIER
pointer_mode - valid: SYNCHRONOUS, ASYNCHRONOUS
keyboard_mode - valid: SYNCHRONOUS, ASYNCHRONOUS
See Also:
XGrabKey

ungrab_key

public void ungrab_key(int keysym,
                       int modifiers)
Parameters:
key - possible: ANY_KEY
modifiers - possible: ANY_MODIFIER
See Also:
XUngrabKey

query_pointer

public Window.PointerInfo query_pointer()
See Also:
XQueryPointer

get_motion_events

public Window.TimeCoord[] get_motion_events(int start,
                                            int stop)
Parameters:
start - possible: Display.CURRENT_TIME
stop - possible: Display.CURRENT_TIME
See Also:
XGetMotionEvents

translate_coordinates

public Window.Coordinates translate_coordinates(Window src,
                                                int src_x,
                                                int src_y)
See Also:
XTranslateCoordinates

warp_pointer

public void warp_pointer(Window src,
                         int src_x,
                         int src_y,
                         int src_width,
                         int src_height,
                         int dest_x,
                         int dest_y)
Parameters:
src - possible: NONE
See Also:
XWarpPointer

set_background

public void set_background(Color c)
See Also:
change_attributes(Window.Attributes), Window.Attributes.set_background(Color)

set_background

public void set_background(int pixel)
See Also:
change_attributes(Window.Attributes), Window.Attributes.set_background(int)

set_background

public void set_background(Pixmap p)
See Also:
change_attributes(Window.Attributes), Window.Attributes.set_background(Pixmap)

set_border

public void set_border(Color c)
See Also:
change_attributes(Window.Attributes), Window.Attributes.set_border(Color)

set_border

public void set_border(int pixel)
See Also:
change_attributes(Window.Attributes), Window.Attributes.set_border(int)

set_border

public void set_border(Pixmap p)
See Also:
change_attributes(Window.Attributes), Window.Attributes.set_border(Pixmap)

set_colormap

public void set_colormap(Colormap cmap)
See Also:
change_attributes(Window.Attributes), Window.Attributes.set_colormap(Colormap)

set_input_focus

public void set_input_focus(int revert_to,
                            int time)
Parameters:
mode - valid: TO_NONE, TO_POINTER_ROOT, TO_PARENT
time - possible: Display.CURRENT_TIME
See Also:
XSetInputFocus

clear_area

public void clear_area(int x,
                       int y,
                       int width,
                       int height,
                       boolean exposures)
See Also:
XClearArea

list_installed_colormaps

public Colormap[] list_installed_colormaps()
Returns:
valid: Enum#next() of type Colormap, Enum#next4()
See Also:
XListInstalledColormaps

rotate_properties

public void rotate_properties(Atom[] properties,
                              int delta)
See Also:
XRotateWindowProperties

change_property

public void change_property(Atom property,
                            Atom type,
                            int data)
See Also:
#change_property(int, int, Atom, Atom, int, Object, int, int)

clear

public void clear(boolean exposures)
See Also:
XClearWindow, clear_area(int, int, int, int, boolean)

delete

public void delete()

flip

public void flip()
See Also:
configure(Window.Changes)

grab_button_ignore_locks

public void grab_button_ignore_locks(int button,
                                     int modifiers,
                                     boolean owner_events,
                                     int event_mask,
                                     int pointer_mode,
                                     int keyboard_mode,
                                     Window confine_to,
                                     Cursor cursor)
Grab button ignoring caps lock (LOCK), num lock (MOD2), and scroll lock (MOD5).

See Also:
grab_button(int, int, boolean, int, int, int, Window, Cursor)

grab_key_ignore_locks

public void grab_key_ignore_locks(int keysym,
                                  int modifiers,
                                  boolean owner_events,
                                  int pointer_mode,
                                  int keyboard_mode)
Grab key ignoring caps lock (LOCK), num lock (MOD2), and scroll lock (MOD5).

See Also:
grab_key(int, int, boolean, int, int), grab_button_ignore_locks(int, int, boolean, int, int, int, Window, Cursor)

iconify

public void iconify()
See Also:
XIconifyWindow, ICCCM Section 4.1.4, send_event(boolean, int, Event)

intern

public static java.lang.Object intern(Display display,
                                      int id)

lower

public void lower()
See Also:
XLowerWindow, configure(Window.Changes)

move

public void move()

move

public void move(int x,
                 int y)
See Also:
XMoveWindow, configure(Window.Changes)

move_resize

public void move_resize()
See Also:
XMoveResizeWindow, configure(Window.Changes)

move_resize

public void move_resize(int x,
                        int y,
                        int width,
                        int height)
See Also:
XMoveResizeWindow, configure(Window.Changes)

move_resize

public void move_resize(Rectangle rectangle)
See Also:
XMoveResizeWindow, configure(Window.Changes)

kill

public void kill()
See Also:
Display.kill_client(Resource)

raise

public void raise()
See Also:
configure(Window.Changes)

rectangle

public Rectangle rectangle()

resize

public void resize()
See Also:
XResizeWindow, configure(Window.Changes)

resize

public void resize(int width,
                   int height)
See Also:
XResizeWindow, configure(Window.Changes)

resized

public boolean resized(Rectangle r)

screen

public Screen screen()

select_input

public void select_input(int event_mask)
See Also:
XSelectInput, change_attributes(Window.Attributes)

set_input_focus

public void set_input_focus()
See Also:
set_input_focus(int, int)

set_geometry_cache

public void set_geometry_cache(Rectangle r)

set_wm

public void set_wm(java.lang.Object app,
                   java.lang.String topic)
A standard way to set wm class hint and name in Java.

See Also:
set_wm_class_hint(String, String), set_wm_name(String)

set_wm_class_hint

public void set_wm_class_hint(Window.WMClassHint class_hint)
See Also:
set_wm_class_hint(String, String)

set_wm_class_hint

public void set_wm_class_hint(java.lang.String res_name,
                              java.lang.String res_class)
See Also:
XSetClassHint, #change_property(int, int, Atom, Atom, int, Object, int, int)

set_wm_hints

public void set_wm_hints(Window.WMHints wm_hints)
See Also:
XSetWMHints, #change_property(int, int, Atom, Atom, int, Object, int, int)

set_wm_normal_hints

public void set_wm_normal_hints(Window.WMSizeHints size_hints)
See Also:
XSetWMNormalHints, #change_property(int, int, Atom, Atom, int, Object, int, int)

set_wm_name

public void set_wm_name(java.lang.String wm_name)
See Also:
XSetWMName, #change_property(int, int, Atom, Atom, int, Object, int, int)

set_wm_delete_window

public void set_wm_delete_window()
See Also:
set_wm_protocol(String)

set_wm_protocol

public void set_wm_protocol(java.lang.String name)
See Also:
change_property(Atom, Atom, int)

set_wm_state

public void set_wm_state(int state)
See Also:
set_wm_state(int, Window)

set_wm_state

public void set_wm_state(Window.WMState state)
See Also:
set_wm_state(int, Window)

set_wm_state

public void set_wm_state(int state,
                         Window icon)
See Also:
#change_property(int, int, Atom, Atom, int, Object, int, int)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

wm_class_hint

public Window.WMClassHint wm_class_hint()
See Also:
XGetClassHint, #property(boolean, Atom, Atom, int, int)

wm_hints

public Window.WMHints wm_hints()
See Also:
XGetWMHints, #property(boolean, Atom, Atom, int, int)

wm_name

public java.lang.String wm_name()
See Also:
XGetWMName, #property(boolean, Atom, Atom, int, int)

wm_normal_hints

public Window.WMSizeHints wm_normal_hints()
See Also:
XGetWMNormalHints, #property(boolean, Atom, Atom, int, int)

wm_protocol

public boolean wm_protocol(java.lang.String name)
See Also:
wm_protocols()

wm_protocols

public int[] wm_protocols()
Returns:
valid: Enum#next() of type Atom, Enum#next4()
See Also:
#property(boolean, Atom, Atom, int, int)

wm_state

public Window.WMState wm_state()
See Also:
#property(boolean, Atom, Atom, int, int)

warp_pointer

public void warp_pointer(int x,
                         int y)
See Also:
warp_pointer(Window, int, int, int, int, int, int)

warp_pointer

public void warp_pointer(Point position)
See Also:
warp_pointer(int, int)

id

public int id()
Description copied from class: Resource
Returns the resource ID of this resource.

Specified by:
id in interface GLXDrawable
Overrides:
id in class Resource
Returns:
the resource ID of this resource