#include "../config.h"
+#include <cstddef>
#include <cstdarg>
#include "rxvt.h"
export_const_iv (RS_Blink);
export_const_iv (RS_RVid);
export_const_iv (RS_Uline);
+
export_const_iv (CurrentTime);
+ export_const_iv (ShiftMask);
+ export_const_iv (LockMask);
+ export_const_iv (ControlMask);
+ export_const_iv (Mod1Mask);
+ export_const_iv (Mod2Mask);
+ export_const_iv (Mod3Mask);
+ export_const_iv (Mod4Mask);
+ export_const_iv (Mod5Mask);
+ export_const_iv (Button1Mask);
+ export_const_iv (Button2Mask);
+ export_const_iv (Button3Mask);
+ export_const_iv (Button4Mask);
+ export_const_iv (Button5Mask);
+ export_const_iv (AnyModifier);
sv_setsv (get_sv ("urxvt::LIBDIR", 1), newSVpvn (LIBDIR, sizeof (LIBDIR) - 1));
}
OUTPUT:
RETVAL
-# very portable, especially on objects as opposed to pods
-#define TERM_OFFSET(sym) (((char *)&((TermWin_t *)0)->sym) - (char *)(TermWin_t *)0)
+#define TERM_OFFSET(sym) offsetof (TermWin_t, sym)
#define TERM_OFFSET_width TERM_OFFSET(width)
#define TERM_OFFSET_height TERM_OFFSET(height)
OUTPUT:
RETVAL
+unsigned int
+rxvt_term::ModLevel3Mask ()
+ ALIAS:
+ ModLevel3Mask = 0
+ ModMetaMask = 1
+ ModNumLockMask = 2
+ CODE:
+ switch (ix)
+ {
+ case 0: RETVAL = THIS->ModLevel3Mask; break;
+ case 1: RETVAL = THIS->ModMetaMask; break;
+ case 2: RETVAL = THIS->ModNumLockMask; break;
+ }
+ OUTPUT:
+ RETVAL
+
U32
rxvt_term::parent ()
CODE:
Returns the "current time" (as per the event loop).
+=item urxvt::CurrentTime
+
+=item urxvt::ShiftMask, LockMask, ControlMask, Mod1Mask, Mod2Mask,
+Mod3Mask, Mod4Mask, Mod5Mask, Button1Mask, Button2Mask, Button3Mask,
+Button4Mask, Button5Mask, AnyModifier
+
+Various constants for use in X events.
+
=back
=head2 RENDITION
Return various integers describing terminal characteristics.
+=item $modifiermask = $term->ModLevel3Mask
+
+=item $modifiermask = $term->ModMetaMask
+
+=item $modifiermask = $term->ModNumLockMask
+
+Return the modifier masks corresponding to the "ISO Level 3 Shift" (often
+AltGr), the meta key (often Alt) and the num lock key, if applicable.
+
=item $view_start = $term->view_start ([$newvalue])
Returns the negative row number of the topmost line. Minimum value is