ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.101 by root, Wed Jul 5 23:34:14 2006 UTC vs.
Revision 1.102 by root, Thu Jul 6 23:48:11 2006 UTC

787 const_iv (Button2Mask), 787 const_iv (Button2Mask),
788 const_iv (Button3Mask), 788 const_iv (Button3Mask),
789 const_iv (Button4Mask), 789 const_iv (Button4Mask),
790 const_iv (Button5Mask), 790 const_iv (Button5Mask),
791 const_iv (AnyModifier), 791 const_iv (AnyModifier),
792
793 const_iv (NoSymbol),
794 const_iv (GrabModeSync),
795 const_iv (GrabModeAsync),
792 796
793 const_iv (EVENT_NONE), 797 const_iv (EVENT_NONE),
794 const_iv (EVENT_READ), 798 const_iv (EVENT_READ),
795 const_iv (EVENT_WRITE), 799 const_iv (EVENT_WRITE),
796 800
1012void 1016void
1013rxvt_term::set_should_invoke (int htype, int inc) 1017rxvt_term::set_should_invoke (int htype, int inc)
1014 CODE: 1018 CODE:
1015 THIS->perl.should_invoke [htype] += inc; 1019 THIS->perl.should_invoke [htype] += inc;
1016 1020
1017void 1021int
1018rxvt_term::grab_button (int button, U32 modifiers, Window window = THIS->vt) 1022rxvt_term::grab_button (int button, U32 modifiers, Window window = THIS->vt)
1019 CODE: 1023 CODE:
1020 XGrabButton (THIS->dpy, button, modifiers, window, 1, 1024 RETVAL = XGrabButton (THIS->dpy, button, modifiers, window, 1,
1021 ButtonPressMask | ButtonReleaseMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask, 1025 ButtonPressMask | ButtonReleaseMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask,
1022 GrabModeSync, GrabModeSync, None, GRAB_CURSOR); 1026 GrabModeSync, GrabModeSync, None, GRAB_CURSOR);
1027 OUTPUT: RETVAL
1023 1028
1024void 1029int
1025rxvt_term::ungrab_button (int button, U32 modifiers, Window window = THIS->vt) 1030rxvt_term::ungrab_button (int button, U32 modifiers, Window window = THIS->vt)
1026 CODE: 1031 CODE:
1027 XUngrabButton (THIS->dpy, button, modifiers, window); 1032 RETVAL = XUngrabButton (THIS->dpy, button, modifiers, window);
1033 OUTPUT: RETVAL
1028 1034
1029#if 0
1030
1031void 1035void
1032XGrabKey (rxvt_term *THIS, int keycode, U32 modifiers, Window window = THIS->vt) 1036rxvt_term::XGrabKey (int keycode, U32 modifiers, Window window = THIS->vt, \
1033 C_ARGS: 1037 int owner_events = 1, int pointer_mode = GrabModeAsync, int keyboard_mode = GrabModeAsync)
1034 THIS->dpy, keycode, modifiers, window, 1, 1038 CODE:
1035 GrabModeSync, GrabModeSync 1039 XGrabKey (THIS->dpy, keycode, modifiers, window, owner_events, pointer_mode, keyboard_mode);
1036 1040
1037void 1041void
1038XUngrabKey (rxvt_term *THIS, int keycode, U32 modifiers, Window window = THIS->vt) 1042rxvt_term::XUngrabKey (int keycode, U32 modifiers, Window window = THIS->vt)
1043 CODE:
1039 C_ARGS: THIS->dpy, keycode, modifiers, window 1044 XUngrabKey (THIS->dpy, keycode, modifiers, window);
1040 1045
1041#endif 1046void
1047rxvt_term::XUngrabKeyboard (Time eventtime)
1048 CODE:
1049 XUngrabKeyboard (THIS->dpy, eventtime);
1042 1050
1043bool 1051bool
1044rxvt_term::grab (Time eventtime, int sync = 0) 1052rxvt_term::grab (Time eventtime, int sync = 0)
1045 CODE: 1053 CODE:
1046{ 1054{
1079 1087
1080void 1088void
1081rxvt_term::ungrab () 1089rxvt_term::ungrab ()
1082 CODE: 1090 CODE:
1083 ungrab (THIS); 1091 ungrab (THIS);
1092
1093int
1094rxvt_term::XStringToKeysym (char *string)
1095 CODE:
1096 RETVAL = XStringToKeysym (string);
1097 OUTPUT: RETVAL
1098
1099char *
1100rxvt_term::XKeysymToString (int sym)
1101 CODE:
1102 RETVAL = XKeysymToString (sym);
1103 OUTPUT: RETVAL
1104
1105int
1106rxvt_term::XKeysymToKeycode (int sym)
1107 CODE:
1108 RETVAL = XKeysymToKeycode (THIS->dpy, sym);
1109 OUTPUT: RETVAL
1110
1111int
1112rxvt_term::XKeycodeToKeysym (int code, int index)
1113 CODE:
1114 RETVAL = XKeycodeToKeysym (THIS->dpy, code, index);
1115 OUTPUT: RETVAL
1084 1116
1085int 1117int
1086rxvt_term::strwidth (SV *str) 1118rxvt_term::strwidth (SV *str)
1087 CODE: 1119 CODE:
1088{ 1120{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines