src/solaris/classes/sun/awt/X11/XlibWrapper.java

Print this page




 492     static native int XdbeSwapBuffers(long display, long swap_info, int num_windows);
 493 
 494     static native void XQueryKeymap(long display, long vector);
 495     static native long XKeycodeToKeysym(long display, int keycode, int index);
 496 
 497     static native int XKeysymToKeycode(long display, long keysym);
 498 
 499     // xkb-related
 500     static native int XkbGetEffectiveGroup(long display);
 501     static native long XkbKeycodeToKeysym(long display, int keycode, int group, int level);
 502     static native void XkbSelectEvents(long display, long device, long bits_to_change, long values_for_bits);
 503     static native void XkbSelectEventDetails(long display, long device, long event_type,
 504                                               long bits_to_change, long values_for_bits);
 505     static native boolean XkbQueryExtension(long display, long opcode_rtrn, long event_rtrn,
 506               long error_rtrn, long major_in_out, long minor_in_out);
 507     static native boolean XkbLibraryVersion(long lib_major_in_out, long lib_minor_in_out);
 508     static native long XkbGetMap(long display, long which, long device_spec);
 509     static native long XkbGetUpdatedMap(long display, long which, long xkb);
 510     static native void XkbFreeKeyboard(long xkb, long which, boolean free_all);
 511     static native boolean XkbTranslateKeyCode(long xkb, int keycode, long mods, long mods_rtrn, long keysym_rtrn);

 512 
 513 
 514     static native void XConvertCase(long keysym,
 515                                     long keysym_lowercase,
 516                                     long keysym_uppercase);
 517 
 518     static native long XGetModifierMapping(long display);
 519     static native void XFreeModifiermap(long keymap);
 520     static native void XRefreshKeyboardMapping(long event);
 521 
 522 
 523     static native void XChangeActivePointerGrab(long display, int mask,
 524                                                 long cursor, long time);
 525 
 526     /*
 527       int (*XSynchronize(Display *display, Bool onoff))();
 528           display   Specifies the connection to the X server.
 529           onoff     Specifies a Boolean value that indicates whether to enable or disable synchronization.
 530      */
 531     public static native int XSynchronize(long display, boolean onoff);




 492     static native int XdbeSwapBuffers(long display, long swap_info, int num_windows);
 493 
 494     static native void XQueryKeymap(long display, long vector);
 495     static native long XKeycodeToKeysym(long display, int keycode, int index);
 496 
 497     static native int XKeysymToKeycode(long display, long keysym);
 498 
 499     // xkb-related
 500     static native int XkbGetEffectiveGroup(long display);
 501     static native long XkbKeycodeToKeysym(long display, int keycode, int group, int level);
 502     static native void XkbSelectEvents(long display, long device, long bits_to_change, long values_for_bits);
 503     static native void XkbSelectEventDetails(long display, long device, long event_type,
 504                                               long bits_to_change, long values_for_bits);
 505     static native boolean XkbQueryExtension(long display, long opcode_rtrn, long event_rtrn,
 506               long error_rtrn, long major_in_out, long minor_in_out);
 507     static native boolean XkbLibraryVersion(long lib_major_in_out, long lib_minor_in_out);
 508     static native long XkbGetMap(long display, long which, long device_spec);
 509     static native long XkbGetUpdatedMap(long display, long which, long xkb);
 510     static native void XkbFreeKeyboard(long xkb, long which, boolean free_all);
 511     static native boolean XkbTranslateKeyCode(long xkb, int keycode, long mods, long mods_rtrn, long keysym_rtrn);
 512     static native void XkbSetDetectableAutoRepeat(long display, boolean detectable);
 513 
 514 
 515     static native void XConvertCase(long keysym,
 516                                     long keysym_lowercase,
 517                                     long keysym_uppercase);
 518 
 519     static native long XGetModifierMapping(long display);
 520     static native void XFreeModifiermap(long keymap);
 521     static native void XRefreshKeyboardMapping(long event);
 522 
 523 
 524     static native void XChangeActivePointerGrab(long display, int mask,
 525                                                 long cursor, long time);
 526 
 527     /*
 528       int (*XSynchronize(Display *display, Bool onoff))();
 529           display   Specifies the connection to the X server.
 530           onoff     Specifies a Boolean value that indicates whether to enable or disable synchronization.
 531      */
 532     public static native int XSynchronize(long display, boolean onoff);