Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

minput_event_to_key(3m17n) [debian man page]

minput_event_to_key(3m17n)					 The m17n Library					minput_event_to_key(3m17n)

NAME
minput_event_to_key - Convert an event to an input key. SYNOPSIS
MSymbol minput_event_to_key (MFrame * frame, void * event) DESCRIPTION
Convert an event to an input key. The minput_event_to_key() function returns the input key corresponding to event event on frame by a window system dependent manner. In the m17n-X library, event must be a pointer to the structure XKeyEvent, and it is handled as below. At first, the keysym name of event is acquired by the function XKeysymToString. Then, the name is modified as below. If the name is one of 'a' .. 'z' and event has a Shift modifier, the name is converted to 'A' .. 'Z' respectively, and the Shift modifier is cleared. If the name is one byte length and event has a Control modifier, the byte is bitwise anded by 0x1F and the Control modifier is cleared. If event still has modifiers, the name is preceded by 'S-' (Shift), 'C-' (Control), 'M-' (Meta), 'A-' (Alt), 'G-' (AltGr), 's-' (Super), and 'H-' (Hyper) in this order. For instance, if the keysym name is 'a' and the event has Shift, Meta, and Hyper modifiers, the resulting name is 'M-H-A'. At last, a symbol who has the name is returned. COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 minput_event_to_key(3m17n)

Check Out this Related Man Page

mframe_get_prop(3m17n)						 The m17n Library					    mframe_get_prop(3m17n)

NAME
mframe_get_prop - Return property value of frame. SYNOPSIS
void* mframe_get_prop (MFrame * frame, MSymbol key) DESCRIPTION
Return property value of frame. The mframe_get_prop() function returns a value of property key of frame frame. The valid keys and the corresponding return values are as follows. key type of value meaning of value --- ------------- ---------------- Mface MFace * The default face. Mfont MFont * The default font. Mfont_width int Width of the default font. Mfont_ascent int Ascent of the default font. Mfont_descent int Descent of the default font. In the m17n-X library, the followings are also accepted. key type of value meaning of value --- ------------- ---------------- Mdisplay Display * Display associated with the frame. Mscreen int Screen number of a screen associated with the frame. Mcolormap Colormap Colormap of the frame. Mdepth unsigned Depth of the frame. COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 mframe_get_prop(3m17n)
Man Page