Top |
IBusEngineDesc * | ibus_engine_desc_new () |
IBusEngineDesc * | ibus_engine_desc_new_varargs () |
IBusEngineDesc * | ibus_engine_desc_new_from_xml_node () |
const gchar * | ibus_engine_desc_get_name () |
const gchar * | ibus_engine_desc_get_longname () |
const gchar * | ibus_engine_desc_get_description () |
const gchar * | ibus_engine_desc_get_language () |
const gchar * | ibus_engine_desc_get_license () |
const gchar * | ibus_engine_desc_get_author () |
const gchar * | ibus_engine_desc_get_icon () |
const gchar * | ibus_engine_desc_get_layout () |
const gchar * | ibus_engine_desc_get_layout_variant () |
const gchar * | ibus_engine_desc_get_layout_option () |
guint | ibus_engine_desc_get_rank () |
const gchar * | ibus_engine_desc_get_hotkeys () |
const gchar * | ibus_engine_desc_get_symbol () |
const gchar * | ibus_engine_desc_get_setup () |
const gchar * | ibus_engine_desc_get_version () |
const gchar * | ibus_engine_desc_get_textdomain () |
const gchar * | ibus_engine_desc_get_icon_prop_key () |
void | ibus_engine_desc_output () |
char * | author | Read / Write / Construct Only |
char * | description | Read / Write / Construct Only |
char * | hotkeys | Read / Write / Construct Only |
char * | icon | Read / Write / Construct Only |
char * | icon-prop-key | Read / Write / Construct Only |
char * | language | Read / Write / Construct Only |
char * | layout | Read / Write / Construct Only |
char * | layout-option | Read / Write / Construct Only |
char * | layout-variant | Read / Write / Construct Only |
char * | license | Read / Write / Construct Only |
char * | longname | Read / Write / Construct Only |
char * | name | Read / Write / Construct Only |
guint | rank | Read / Write / Construct Only |
char * | setup | Read / Write / Construct Only |
char * | symbol | Read / Write / Construct Only |
char * | textdomain | Read / Write / Construct Only |
char * | version | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── IBusObject ╰── IBusSerializable ╰── IBusEngineDesc
An IBusEngineDesc stores description data of IBusEngine.
The description data can either be passed to ibus_engine_desc_new()
,
or loaded from an XML node through ibus_engine_desc_new_from_xml_node()
to construct IBusEngineDesc.
However, the recommended way to load engine description data is
using ibus_component_new_from_file()
to load a component file,
which also includes engine description data.
see_also: IBusComponent, IBusEngine
IBusEngineDesc * ibus_engine_desc_new (const gchar *name
,const gchar *longname
,const gchar *description
,const gchar *language
,const gchar *license
,const gchar *author
,const gchar *icon
,const gchar *layout
);
Creates a new IBusEngineDesc. If layout is "default", the engine inherits the current layout and does not change the layout. The layouts "default" and "" are same. E.g. If you switch JP XKB engine and an input method engine (IME), the IME inherits the JP layout.
name |
Name of the engine. |
|
longname |
Long name of the input method engine. |
|
description |
Input method engine description. |
|
language |
Language (e.g. zh, jp) supported by this input method engine. |
|
license |
License of the input method engine. |
|
author |
Author of the input method engine. |
|
icon |
Icon file of this engine. |
|
layout |
Keyboard layout |
IBusEngineDesc * ibus_engine_desc_new_varargs (const gchar *first_property_name
,...
);
Creates a new IBusEngineDesc.
ibus_engine_desc_new_varargs()
supports the va_list format.
name property is required. e.g.
ibus_engine_desc_new_varargs("name", "ibus-foo", "language", "us", NULL)
If layout is "default", the engine inherits the current layout and
does not change the layout. The layouts "default" and "" are same.
E.g. If you switch JP XKB engine and an input method engine (IME),
the IME inherits the JP layout.
IBusEngineDesc *
ibus_engine_desc_new_from_xml_node (XMLNode *node
);
Creates a new IBusEngineDesc from an XML node.
This function is called by ibus_component_new_from_file()
,
so developers normally do not need to call it directly.
const gchar *
ibus_engine_desc_get_name (IBusEngineDesc *info
);
Gets the name property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_longname (IBusEngineDesc *info
);
Gets the longname property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_description (IBusEngineDesc *info
);
Gets the description property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_language (IBusEngineDesc *info
);
Gets the language property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_license (IBusEngineDesc *info
);
Gets the license property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_author (IBusEngineDesc *info
);
Gets the author property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_icon (IBusEngineDesc *info
);
Gets the icon property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_layout (IBusEngineDesc *info
);
Gets the layout property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_layout_variant (IBusEngineDesc *info
);
Gets the keyboard variant property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_layout_option (IBusEngineDesc *info
);
Gets the keyboard option property in IBusEngineDesc. It should not be freed.
guint
ibus_engine_desc_get_rank (IBusEngineDesc *info
);
Gets the rank property in IBusEngineDesc.
const gchar *
ibus_engine_desc_get_hotkeys (IBusEngineDesc *info
);
Gets the hotkeys property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_symbol (IBusEngineDesc *info
);
Gets the symbol property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_setup (IBusEngineDesc *info
);
Gets the setup property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_version (IBusEngineDesc *info
);
Gets the version property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_textdomain (IBusEngineDesc *info
);
Gets the textdomain property in IBusEngineDesc. It should not be freed.
const gchar *
ibus_engine_desc_get_icon_prop_key (IBusEngineDesc *info
);
Gets the key of IBusProperty to load the panel icon dynamically in IBusEngineDesc. It should not be freed.
void ibus_engine_desc_output (IBusEngineDesc *info
,GString *output
,gint indent
);
Output XML-formatted input method engine description.
The result will be append to GString specified in output
.
“author”
property “author” char *
The author of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“description”
property “description” char *
The description of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“hotkeys”
property “hotkeys” char *
The hotkeys of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“icon”
property “icon” char *
The icon of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: "ibus-engine"
“icon-prop-key”
property “icon-prop-key” char *
The key of IBusProperty to change panel icon dynamically.
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“language”
property “language” char *
The language of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“layout”
property “layout” char *
The layout of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: "us"
“layout-option”
property “layout-option” char *
The keyboard option of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“layout-variant”
property “layout-variant” char *
The keyboard variant of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“license”
property “license” char *
The license of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“longname”
property “longname” char *
The longname of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“name”
property “name” char *
The name of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: NULL
“rank”
property“rank” guint
The rank of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: 0
“setup”
property “setup” char *
The exec lists of the engine setup command
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“symbol”
property “symbol” char *
The symbol chars of engine description instead of icon image
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""
“textdomain”
property “textdomain” char *
The textdomain of engine description
Owner: IBusEngineDesc
Flags: Read / Write / Construct Only
Default value: ""