m17nInputMethodWin(3m17n)
π NAME π
m17nInputMethodWin_-_Input_Method_( - - β input method support on window systems. π
okay bestie so this is the m17nInputMethodWin page from the m17n library (that's manual section 3m17n), and it's all about how input methods vibe on window systems. it's giving β¨niche but essentialβ¨. let's go π«Ά
β¨ SYNOPSIS β¨
π¦ Data Structures
struct MInputGUIArgICβ type of the argument to the functionminput_create_ic().struct MInputXIMArgIMβ structure pointed to by the argument arg of the functionminput_open_im().struct MInputXIMArgICβ structure pointed to by the argument arg of the functionminput_create_ic().
π¦ Functions
MSymbol minput_event_to_key (MFrame *frame, void *event)β convert an event to an input key. literally its whole job π«
π¦ Variables
MInputDriver minput_gui_driverβ input driver for internal input methods on window systems.MSymbol Mximβ symbol of the name'xim'.
πΈ DETAILED DESCRIPTION πΈ
input method support on window systems. no cap, that's the whole topic π
the input driver minput_gui_driver is provided for internal input methods that is useful on window systems. it displays preedit text and status text at the inputting spot. see the documentation of minput_gui_driver for more details. (yes bestie, go read that one too, it's the sequel π)
in the m17n-X library, the foreign input method of name Mxim is provided. it uses XIM (X Input Method) as a background input engine. the symbol Mxim has a property Minput_driver whose value is a pointer to the input driver minput_xim_driver. see the documentation of minput_xim_driver for more details. π§
π DATA STRUCTURE DOCUMENTATION π
π MInputGUIArgIC
type of the argument to the function minput_create_ic(). that's it, that's the struct's whole personality π
β FIELD DOCUMENTATION:
MFrame* MInputGUIArgIC::frameβ frame of the client.MDrawWindow MInputGUIArgIC::clientβ window on which to display the preedit and status text.MDrawWindow MInputGUIArgIC::focusβ window that the input context has a focus on.
π MInputXIMArgIM
structure pointed to by the argument arg of the function minput_open_im().
β FIELD DOCUMENTATION:
Display* MInputXIMArgIM::displayβ the meaning of the following four members are the same as arguments toXOpenIM(). display of the client.XrmDatabase MInputXIMArgIM::dbβ pointer to the X resource database.char* MInputXIMArgIM::res_classβ full class name of the application.char* MInputXIMArgIM::res_nameβ full resource name of the application.char* MInputXIMArgIM::localeβ locale name under which an XIM is opened.char* MInputXIMArgIM::modifier_listβ arguments toXSetLocaleModifiers().
π MInputXIMArgIC
structure pointed to by the argument arg of the function minput_create_ic().
β FIELD DOCUMENTATION:
XIMStyle MInputXIMArgIC::input_styleβ used as the arguments ofXCreateICfollowingXNInputStyle. if this is zero, (XIMPreeditNothing | XIMStatusNothing) is used, and<preedit_attrs>and<status_attrs>are set toNULL.Window MInputXIMArgIC::client_winβ used as the argument ofXCreateICfollowingXNClientWindow.Window MInputXIMArgIC::focus_winβ used as the argument ofXCreateICfollowingXNFocusWindow.XVaNestedList MInputXIMArgIC::preedit_attrsβ if non-NULL, used as the argument ofXCreateICfollowingXNPreeditAttributes.XVaNestedList MInputXIMArgIC::status_attrsβ if non-NULL, used as the argument ofXCreateICfollowingXNStatusAttributes.
π VARIABLE DOCUMENTATION π
π MInputDriver minput_gui_driver
input driver for internal input methods on window systems. the input driver minput_gui_driver is for internal input methods to be used on window systems.
it creates sub-windows for a preedit text and a status text, and displays them at the input spot set by the function minput_set_spot(). iconic behaviour honestly β¨
the macro M17N_INIT() set the variable minput_driver to the pointer to this driver so that all internal input methods use it. π«Ά
therefore, unless minput_driver is changed from the default, the driver dependent arguments to the functions whose name begin with minput_ must are treated as follows. (yes, "must are" β we don't fix the lore, we preserve it π)
- the argument arg of the function
minput_open_im()is ignored. π - the argument arg of the function
minput_create_ic()must be a pointer to the structureMInputGUIArgIC. see the documentation ofMInputGUIArgICfor more details. - if the argument key of function
minput_filter()isMnil, the argument arg must be a pointer to the object of typeXEvent. in that case, key is generated from arg. - the argument arg of the function
minput_lookup()must be the same one as that of the functionminput_filter().
bestie please actually pay attention to these rules π the driver-dependent args have opinions and they will not be negotiated with.
π MSymbol Mxim
symbol of the name 'xim'. the variable Mxim is a symbol of name 'xim'. it is a name of the input method driver minput_xim_driver. periodt. π
π AUTHOR π
generated automatically by Doxygen for The m17n Library from the source code. (not a human, just vibes and automation π€)
π 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>.
okay that's the whole page bestie, you ate it π thanks for reading to the end, mwah π this was Version 1.8.4, dated Mon Sep 25 2023, straight from The m17n Library β catch you on the next man page, byeee π¦β¨
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms