Changes

Jump to navigation Jump to search
Line 52: Line 52:     
         customButton.props.accelerator = _('<Alt>b')
 
         customButton.props.accelerator = _('<Alt>b')
 +
 +
If you want to use symbols in you shortcuts, you'll need to refer to the X11 keysymdefs (/usr/include/X11/keysymdef.h), e.g., to use a "+" as a shortcut, you'd refer to <code>#define XK_plus 0x002b /* U+002B PLUS SIGN */</code> and use the string after the <code>XK_</code>:
 +
 +
        customButton.props.accelerator = _('<Alt>plus')

Navigation menu