minput_get_title_icon3m17n
Usage
MPlist* minput_get_title_icon (MSymbol language, MSymbol name)
Overview
Get title and icon filename of an input method. The minput_get_title_icon() function returns a plist containing a title and icon filename (if any) of an input method specified by language and name.
The first element of the plist has key Mtext and the value is an M-text of the title for identifying the input method. The second element (if any) has key Mtext and the value is an M-text of the icon image (absolute) filename for the same purpose.
Return value
If there exists a specified input method and it defines an title, a plist is returned. Otherwise, NULL is returned. The caller must free the plist by m17n_object_unref().
Releases
7 releases since Debian 7 (Wheezy); the text changed 1 time.