C# Class OpenTK.Platform.X11.Functions

Show file Open project: andykorth/opentk

Public Properties

Property Type Description
Lock object

Public Methods

Method Description
CreateMaskFromImage ( Display display, Bitmap image ) : IntPtr
CreatePixmapFromImage ( Display display, Bitmap image ) : IntPtr
SendNetClientMessage ( X11WindowInfo window, IntPtr message_type, IntPtr l0, IntPtr l1, IntPtr l2 ) : void
SendNetWMMessage ( X11WindowInfo window, IntPtr message_type, IntPtr l0, IntPtr l1, IntPtr l2 ) : void
XGetVisualInfo ( IntPtr display, XVisualInfoMask vinfo_mask, XVisualInfo &template, int &nitems ) : IntPtr
XISelectEvents ( IntPtr dpy, Window win, XIEventMask masks ) : int
XOpenDisplay ( IntPtr display ) : IntPtr
XSendEvent ( IntPtr display, IntPtr window, bool propagate, EventMask event_mask, XEvent &send_event ) : int

Private Methods

Method Description
XAllocColor ( IntPtr display, IntPtr Colormap, XColor &colorcell_def ) : int
XAllocWMHints ( ) : IntPtr
XAllowEvents ( IntPtr display, EventMode event_mode, Time time ) : int
XAutoRepeatOff ( IntPtr display ) : void
XAutoRepeatOn ( IntPtr display ) : void
XBell ( IntPtr display, int percent ) : int
XBitmapBitOrder ( Display display ) : int
XBlackPixel ( IntPtr display, int screen_no ) : IntPtr
XChangeActivePointerGrab ( IntPtr display, EventMask event_mask, IntPtr cursor, IntPtr time ) : int
XChangeProperty ( IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, IntPtr &value, int nelements ) : int
XChangeProperty ( IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, MotifWmHints &data, int nelements ) : int
XChangeProperty ( IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, int &value, int nelements ) : int
XChangeProperty ( IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, string text, int text_length ) : int
XChangeProperty ( IntPtr display, IntPtr window, IntPtr property, IntPtr type, int format, PropertyMode mode, uint &value, int nelements ) : int
XCheckIfEvent ( Display display, XEvent &e, IntPtr predicate, IntPtr arg ) : Bool
XCheckTypedEvent ( Display display, XEventName event_type, XEvent &event_return ) : Bool
XCheckTypedWindowEvent ( Display display, Window w, XEventName event_type, XEvent &event_return ) : Bool
XCheckWindowEvent ( Display display, Window w, EventMask event_mask, XEvent &event_return ) : Bool
XClearArea ( IntPtr display, IntPtr window, int x, int y, int width, int height, bool exposures ) : int
XClearWindow ( IntPtr display, IntPtr window ) : int
XCloseDisplay ( IntPtr display ) : int
XConfigureWindow ( IntPtr display, IntPtr window, ChangeWindowAttributes value_mask, XWindowChanges &values ) : uint
XConnectionNumber ( IntPtr diplay ) : int
XConvertSelection ( IntPtr display, IntPtr selection, IntPtr target, IntPtr property, IntPtr requestor, IntPtr time ) : int
XCopyArea ( IntPtr display, IntPtr src, IntPtr dest, IntPtr gc, int src_x, int src_y, int width, int height, int dest_x, int dest_y ) : int
XCreateColormap ( Display display, Window window, IntPtr visual, int alloc ) : IntPtr
XCreateFontCursor ( IntPtr display, CursorFontShape shape ) : IntPtr
XCreateGC ( IntPtr display, IntPtr window, IntPtr valuemask, XGCValues values ) : IntPtr
XCreateImage ( Display display, IntPtr visual, uint depth, ImageFormat format, int offset, IntPtr data, uint width, uint height, int bitmap_pad, int bytes_per_line ) : IntPtr
XCreateImage ( Display display, IntPtr visual, uint depth, ImageFormat format, int offset, byte data, uint width, uint height, int bitmap_pad, int bytes_per_line ) : IntPtr
XCreatePixmap ( IntPtr display, IntPtr d, int width, int height, int depth ) : IntPtr
XCreatePixmapCursor ( IntPtr display, IntPtr source, IntPtr mask, XColor &foreground_color, XColor &background_color, int x_hot, int y_hot ) : IntPtr
XCreatePixmapFromBitmapData ( IntPtr display, IntPtr drawable, byte data, int width, int height, IntPtr fg, IntPtr bg, int depth ) : IntPtr
XCreateSimpleWindow ( IntPtr display, IntPtr parent, int x, int y, int width, int height, int border_width, IntPtr border, IntPtr background ) : IntPtr
XCreateSimpleWindow ( IntPtr display, IntPtr parent, int x, int y, int width, int height, int border_width, UIntPtr border, UIntPtr background ) : IntPtr
XCreateWindow ( IntPtr display, IntPtr parent, int x, int y, int width, int height, int border_width, int depth, int xclass, IntPtr visual, IntPtr valuemask, XSetWindowAttributes &attributes ) : IntPtr
XDefaultColormap ( IntPtr display, int screen_number ) : IntPtr
XDefaultDepth ( IntPtr display, int screen_number ) : uint
XDefaultRootWindow ( IntPtr display ) : IntPtr
XDefaultScreen ( IntPtr display ) : int
XDefaultScreenOfDisplay ( IntPtr display ) : IntPtr
XDefaultVisual ( IntPtr display, int screen_number ) : IntPtr
XDefineCursor ( IntPtr display, IntPtr window, IntPtr cursor ) : int
XDeleteProperty ( IntPtr display, IntPtr window, IntPtr property ) : int
XDestroyWindow ( IntPtr display, IntPtr window ) : int
XDrawLine ( IntPtr display, IntPtr drawable, IntPtr gc, int x1, int y1, int x2, int y2 ) : int
XDrawRectangle ( IntPtr display, IntPtr drawable, IntPtr gc, int x1, int y1, int width, int height ) : int
XFetchName ( IntPtr display, IntPtr window, IntPtr &window_name ) : int
XFillRectangle ( IntPtr display, IntPtr drawable, IntPtr gc, int x1, int y1, int width, int height ) : int
XFilterEvent ( XEvent &xevent, IntPtr window ) : bool
XFlush ( IntPtr display ) : int
XFree ( IntPtr data ) : int
XFreeCursor ( IntPtr display, IntPtr cursor ) : int
XFreeEventData ( IntPtr display, XGenericEventCookie &cookie ) : void
XFreeGC ( IntPtr display, IntPtr gc ) : int
XFreePixmap ( IntPtr display, IntPtr pixmap ) : IntPtr
XGetErrorText ( IntPtr display, byte code, StringBuilder buffer, int length ) : IntPtr
XGetEventData ( IntPtr display, XGenericEventCookie &cookie ) : int
XGetGeometry ( IntPtr display, IntPtr window, IntPtr root, IntPtr x, IntPtr y, int &width, int &height, IntPtr border_width, IntPtr depth ) : bool
XGetGeometry ( IntPtr display, IntPtr window, IntPtr root, int &x, int &y, IntPtr width, IntPtr height, IntPtr border_width, IntPtr depth ) : bool
XGetGeometry ( IntPtr display, IntPtr window, IntPtr root, int &x, int &y, int &width, int &height, IntPtr border_width, IntPtr depth ) : bool
XGetGeometry ( IntPtr display, IntPtr window, IntPtr &root, int &x, int &y, int &width, int &height, int &border_width, int &depth ) : bool
XGetIconSizes ( IntPtr display, IntPtr window, IntPtr &size_list, int &count ) : int
XGetSelectionOwner ( IntPtr display, IntPtr selection ) : IntPtr
XGetTransientForHint ( Display display, Window w, Window &prop_window_return ) : Status
XGetVisualInfoInternal ( IntPtr display, IntPtr vinfo_mask, XVisualInfo &template, int &nitems ) : IntPtr
XGetWMHints ( Display display, Window w ) : IntPtr
XGetWMNormalHints ( IntPtr display, IntPtr window, XSizeHints &hints, IntPtr &supplied_return ) : int
XGetWindowAttributes ( IntPtr display, IntPtr window, XWindowAttributes &attributes ) : int
XGetWindowProperty ( IntPtr display, IntPtr window, IntPtr atom, IntPtr long_offset, IntPtr long_length, bool delete, IntPtr req_type, IntPtr &actual_type, int &actual_format, IntPtr &nitems, IntPtr &bytes_after, IntPtr &prop ) : int
XGrabButton ( IntPtr display, int button, uint modifiers, Window grab_window, Bool owner_events, EventMask event_mask, GrabMode pointer_mode, GrabMode keyboard_mode, Window confine_to, Cursor cursor ) : int
XGrabKey ( IntPtr display, int keycode, uint modifiers, Window grab_window, bool owner_events, GrabMode pointer_mode, GrabMode keyboard_mode ) : int
XGrabKeyboard ( IntPtr display, IntPtr window, bool owner_events, GrabMode pointer_mode, GrabMode keyboard_mode, IntPtr timestamp ) : int
XGrabPointer ( IntPtr display, IntPtr window, bool owner_events, EventMask event_mask, GrabMode pointer_mode, GrabMode keyboard_mode, IntPtr confine_to, IntPtr cursor, IntPtr timestamp ) : int
XGrabServer ( IntPtr display ) : void
XIGrabDevice ( IntPtr display, int deviceid, Window grab_window, Time time, Cursor cursor, int grab_mode, int paired_device_mode, Bool owner_events, XIEventMask mask ) : Status
XISelectEvents ( IntPtr dpy, Window win, [ masks, int num_masks ) : int
XIUngrabDevice ( IntPtr display, int deviceid, Time time ) : Status
XIWarpPointer ( Display display, int deviceid, Window src_w, Window dest_w, double src_x, double src_y, int src_width, int src_height, double dest_x, double dest_y ) : Bool
XIconifyWindow ( IntPtr display, IntPtr window, int screen_number ) : int
XIfEvent ( Display display, XEvent &e, IntPtr predicate, IntPtr arg ) : Bool
XInitThreads ( ) : int
XInternAtom ( IntPtr display, string atom_name, bool only_if_exists ) : IntPtr
XInternAtoms ( IntPtr display, string atom_names, int atom_count, bool only_if_exists, IntPtr atoms ) : int
XKeycodeToKeysym ( IntPtr display, KeyCode keycode, int index ) : KeySym
XKeysymToKeycode ( IntPtr display, KeySym keysym ) : KeyCode
XLockDisplay ( Display display ) : void
XLookupColor ( IntPtr display, IntPtr Colormap, string Coloranem, XColor &exact_def_color, XColor &screen_def_color ) : int
XLookupString ( XKeyEvent &event_struct, [ buffer_return, int bytes_buffer, [ keysym_return, IntPtr status_in_out ) : int
XLowerWindow ( IntPtr display, IntPtr window ) : uint
XMapSubindows ( IntPtr display, IntPtr window ) : int
XMapWindow ( IntPtr display, IntPtr window ) : int
XMoveResizeWindow ( IntPtr display, IntPtr window, int x, int y, int width, int height ) : int
XMoveWindow ( IntPtr display, IntPtr w, int x, int y ) : int
XNextEvent ( IntPtr display, XEvent &xevent ) : IntPtr
XPeekEvent ( IntPtr display, XEvent &xevent ) : void
XPending ( IntPtr diplay ) : int
XPutImage ( Display display, IntPtr drawable, IntPtr gc, IntPtr image, int src_x, int src_y, int dest_x, int dest_y, uint width, uint height ) : void
XQueryBestCursor ( IntPtr display, IntPtr drawable, int width, int height, int &best_width, int &best_height ) : int
XQueryExtension ( IntPtr display, string extension_name, int &major, int &first_event, int &first_error ) : int
XQueryPointer ( IntPtr display, IntPtr window, IntPtr &root, IntPtr &child, int &root_x, int &root_y, int &win_x, int &win_y, int &keys_buttons ) : bool
XQueryTree ( IntPtr display, IntPtr window, IntPtr &root_return, IntPtr &parent_return, IntPtr &children_return, int &nchildren_return ) : int
XRaiseWindow ( IntPtr display, IntPtr window ) : int
XRefreshKeyboardMapping ( XMappingEvent &event_map ) : int
XReparentWindow ( IntPtr display, IntPtr window, IntPtr parent, int x, int y ) : int
XResizeWindow ( IntPtr display, IntPtr window, int width, int height ) : int
XRootWindow ( IntPtr display, int screen_number ) : IntPtr
XScreenNumberOfScreen ( IntPtr display, IntPtr Screen ) : int
XSelectInput ( IntPtr display, IntPtr window, IntPtr mask ) : int
XSendEvent ( IntPtr display, IntPtr window, bool propagate, IntPtr event_mask, XEvent &send_event ) : int
XSetBackground ( IntPtr display, IntPtr gc, IntPtr background ) : int
XSetBackground ( IntPtr display, IntPtr gc, UIntPtr background ) : int
XSetErrorHandler ( XErrorHandler error_handler ) : IntPtr
XSetForeground ( IntPtr display, IntPtr gc, IntPtr foreground ) : int
XSetForeground ( IntPtr display, IntPtr gc, UIntPtr foreground ) : int
XSetFunction ( IntPtr display, IntPtr gc, GXFunction function ) : int
XSetInputFocus ( IntPtr display, IntPtr window, RevertTo revert_to, IntPtr time ) : int
XSetLineAttributes ( IntPtr display, IntPtr gc, int line_width, GCLineStyle line_style, GCCapStyle cap_style, GCJoinStyle join_style ) : int
XSetPlaneMask ( IntPtr display, IntPtr gc, IntPtr mask ) : int
XSetSelectionOwner ( IntPtr display, IntPtr selection, IntPtr owner, IntPtr time ) : int
XSetTransientForHint ( IntPtr display, IntPtr window, IntPtr prop_window ) : int
XSetWMHints ( Display display, Window w, XWMHints &wmhints ) : void
XSetWMName ( IntPtr display, IntPtr window, XTextProperty &text_prop ) : int
XSetWMNormalHints ( IntPtr display, IntPtr window, XSizeHints &hints ) : void
XSetWMProtocols ( IntPtr display, IntPtr window, IntPtr protocols, int count ) : int
XSetWindowBackground ( IntPtr display, IntPtr window, IntPtr background ) : int
XSetZoomHints ( IntPtr display, IntPtr window, XSizeHints &hints ) : void
XStoreName ( IntPtr display, IntPtr window, string window_name ) : int
XSync ( Display display, bool discard ) : void
XSynchronize ( IntPtr display, bool onoff ) : IntPtr
XTranslateCoordinates ( IntPtr display, IntPtr src_w, IntPtr dest_w, int src_x, int src_y, int &intdest_x_return, int &dest_y_return, IntPtr &child_return ) : bool
XUndefineCursor ( IntPtr display, IntPtr window ) : int
XUngrabButton ( IntPtr display, uint button, uint modifiers, Window grab_window ) : int
XUngrabKey ( IntPtr display, int keycode, uint modifiers, Window grab_window ) : int
XUngrabKeyboard ( IntPtr display, IntPtr timestamp ) : int
XUngrabPointer ( IntPtr display, IntPtr timestamp ) : int
XUngrabServer ( IntPtr display ) : void
XUnlockDisplay ( Display display ) : void
XUnmapSubwindows ( IntPtr display, IntPtr window ) : int
XUnmapWindow ( IntPtr display, IntPtr window ) : int
XWarpPointer ( IntPtr display, IntPtr src_w, IntPtr dest_w, int src_x, int src_y, uint src_width, uint src_height, int dest_x, int dest_y ) : uint
XWhitePixel ( IntPtr display, int screen_no ) : IntPtr
XWindowEvent ( Display display, Window w, EventMask event_mask, XEvent &event_return ) : Bool
XkbSetDetectableAutoRepeat ( IntPtr display, bool detectable, bool &supported ) : bool
sys_XOpenDisplay ( IntPtr display ) : IntPtr

Method Details

CreateMaskFromImage() public static method

public static CreateMaskFromImage ( Display display, Bitmap image ) : IntPtr
display Display
image System.Drawing.Bitmap
return System.IntPtr

CreatePixmapFromImage() public static method

public static CreatePixmapFromImage ( Display display, Bitmap image ) : IntPtr
display Display
image System.Drawing.Bitmap
return System.IntPtr

SendNetClientMessage() public static method

public static SendNetClientMessage ( X11WindowInfo window, IntPtr message_type, IntPtr l0, IntPtr l1, IntPtr l2 ) : void
window X11WindowInfo
message_type System.IntPtr
l0 System.IntPtr
l1 System.IntPtr
l2 System.IntPtr
return void

SendNetWMMessage() public static method

public static SendNetWMMessage ( X11WindowInfo window, IntPtr message_type, IntPtr l0, IntPtr l1, IntPtr l2 ) : void
window X11WindowInfo
message_type System.IntPtr
l0 System.IntPtr
l1 System.IntPtr
l2 System.IntPtr
return void

XGetVisualInfo() public static method

public static XGetVisualInfo ( IntPtr display, XVisualInfoMask vinfo_mask, XVisualInfo &template, int &nitems ) : IntPtr
display System.IntPtr
vinfo_mask XVisualInfoMask
template XVisualInfo
nitems int
return System.IntPtr

XISelectEvents() public static method

public static XISelectEvents ( IntPtr dpy, Window win, XIEventMask masks ) : int
dpy System.IntPtr
win Window
masks XIEventMask
return int

XOpenDisplay() public static method

public static XOpenDisplay ( IntPtr display ) : IntPtr
display System.IntPtr
return System.IntPtr

XSendEvent() public static method

public static XSendEvent ( IntPtr display, IntPtr window, bool propagate, EventMask event_mask, XEvent &send_event ) : int
display System.IntPtr
window System.IntPtr
propagate bool
event_mask EventMask
send_event XEvent
return int

Property Details

Lock public static property

public static object Lock
return object