Difference between revisions of "X11"
Jump to navigation
Jump to search
Weng Xuetian (talk | contribs) (Created page with "<languages /> <translate> {{Infobox module | name = X11 | version = 4.2.1 | programming language = C | license = GPLv2 |...") |
Weng Xuetian (talk | contribs) m (Text replacement - "<translate1>" to "<translate>") |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <languages /> | + | <languages/> |
<translate> | <translate> | ||
Line 11: | Line 11: | ||
== Intro == | == Intro == | ||
− | X11 is a module that provides some X Server related function, which is the dependency of most X related Addon. | + | X11 is a module that provides some X Server related function, which is the dependency of most X related Addon. User should not disable it otherwise you will lose quite a lot function. |
== For Developer == | == For Developer == |
Latest revision as of 22:54, 2 February 2016
Version | 4.2.1 |
---|---|
Written In | C |
License | GPLv2 |
Type | Module |
Intro
X11 is a module that provides some X Server related function, which is the dependency of most X related Addon. User should not disable it otherwise you will lose quite a lot function.
For Developer
Do not try to use Gtk, Qt inside Fcitx module, since Fcitx use it's own mainloop. If you need Gtk/Qt, please use DBus to communicate with Fcitx.
If you need something related to X, please use Inter Module Function Call to talk with this module.
Here is the exposed function definition of X11, you can also find it in include/fcitx/module/x11/x11stuff.h
#define FCITX_X11_NAME "fcitx-x11" #define FCITX_X11_GETDISPLAY 0 #define FCITX_X11_GETDISPLAY_RETURNTYPE Display* #define FCITX_X11_ADDXEVENTHANDLER 1 #define FCITX_X11_ADDXEVENTHANDLER_RETURNTYPE void #define FCITX_X11_REMOVEXEVENTHANDLER 2 #define FCITX_X11_REMOVEXEVENTHANDLER_RETURNTYPE void #define FCITX_X11_FINDARGBVISUAL 3 #define FCITX_X11_FINDARGBVISUAL_RETURNTYPE Visual* #define FCITX_X11_INITWINDOWATTR 4 #define FCITX_X11_INITWINDOWATTR_RETURNTYPE void #define FCITX_X11_SETWINDOWPROP 5 #define FCITX_X11_SETWINDOWPROP_RETURNTYPE void #define FCITX_X11_GETSCREENSIZE 6 #define FCITX_X11_GETSCREENSIZE_RETURNTYPE void #define FCITX_X11_MOUSECLICK 7 #define FCITX_X11_MOUSECLICK_RETURNTYPE void #define FCITX_X11_ADDCOMPOSITEHANDLER 8 #define FCITX_X11_ADDCOMPOSITEHANDLER_RETURNTYPE void