Editing Documentation/Maemo 5 Developer Guide/Using Generic Platform Components/Extending Hildon Input Methods

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 +
== Overview ==
 +
Maemo platform is intended to be used on embedded devices. It is a quite straightforward request that one might want to have different input methods from the ones available by default, or just simply want a different layout for the virtual keyboard. For this reason, [[Open development/Maemo roadmap/Diablo|Maemo 4.1]] introduces a way to enable writing custom plug-ins for Hildon Input Method.
Maemo platform is intended to be used on embedded devices. It is a quite straightforward request that one might want to have different input methods from the ones available by default, or just simply want a different layout for the virtual keyboard. For this reason, [[Open development/Maemo roadmap/Diablo|Maemo 4.1]] introduces a way to enable writing custom plug-ins for Hildon Input Method.
Line 277: Line 279:
==== module_init ====
==== module_init ====
-
 
<source lang="c">
<source lang="c">
void module_init (GTypeModule *module);
void module_init (GTypeModule *module);
Line 420: Line 421:
==  Interaction with main user interface ==
==  Interaction with main user interface ==
-
As mentioned above, the plug-in is placed inside the HIM main UI. This section deals with interacting with it. This is mainly done by calling its functions, as defined in <code>hildon-im-ui.h</code>.
+
As mentioned above, the plug-in is placed inside the HIM main UI. This section deals with interacting with it. This is mainly done by calling its functions, as defined in '''hildon-im-ui.h'''.
=== Handling Input ===
=== Handling Input ===
Line 547: Line 548:
</source>
</source>
-
With this function, the plug-in can attach a menu - which is a <code>GtkWidget</code> - to a particular button.
+
With this function, the plug-in can attach a menu - which is a GtkWidget - to a particular button.
* hildon-input-method/hildon-im-ui.h
* hildon-input-method/hildon-im-ui.h
Line 576: Line 577:
</source>
</source>
-
[http://maemo.org/packages/view/hildon-input-method-framework-dev/ hildon-input-method-framework-dev] and [http://maemo.org/packages/view/libhildon-im-ui-dev/ libhildon-im-ui-dev] packages.
+
'''hildon-input-method-framework-dev''' and '''libhildon-im-ui-dev''' packages.
== Language codes ==
== Language codes ==

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)