https://github.com/racklin/moz-matchbox-keyboard-invoker
Matchbox Keyboard Invoker for XPCOM
https://github.com/racklin/moz-matchbox-keyboard-invoker
Last synced: over 1 year ago
JSON representation
Matchbox Keyboard Invoker for XPCOM
- Host: GitHub
- URL: https://github.com/racklin/moz-matchbox-keyboard-invoker
- Owner: racklin
- Created: 2013-03-29T08:31:09.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-02T08:12:55.000Z (over 13 years ago)
- Last Synced: 2025-04-12T21:59:08.642Z (over 1 year ago)
- Language: C++
- Size: 109 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Matchbox Keyboard Invoker for XPCOM
----------------------------------------
Matchbox-keyboard is an on screen 'virtual' or 'software' keyboard. It will hopefully work well on various touchscreen devices from mobile phones to tablet PCs running X Windows.
This is XPCOM Binding for Matchbox-Keyboard , You can toggle / show / hide matchbox-keyboard from xulrunner / firefox .
Build
----------------------------------------
Required Packages cmake / xulrunner-dev / libgtk2.0-dev / libx11-dev.
1. cmake .
2. make
Install
----------------------------------------
Copy built .so and .xpt to your xulrunner application's components directory.
Usage
----------------------------------------
Show Matchbox-keyboard:
```
Components.classes["@racklin.gmail.com/mb-invoker;1"].getService(Components.interfaces.mozIMatchboxKeyboardInvoker).show();
```
Hide Matchbox-keyboard:
```
Components.classes["@racklin.gmail.com/mb-invoker;1"].getService(Components.interfaces.mozIMatchboxKeyboardInvoker).hide();
```
Toggle(Show/Hide) Matchbox-keyboard:
```
Components.classes["@racklin.gmail.com/mb-invoker;1"].getService(Components.interfaces.mozIMatchboxKeyboardInvoker).toggle();
```
License
-----------------------------
Licensed under the [MPL License](http://mozilla.org/MPL/2.0/).