diff options
author | Hidetoshi Tajima <tajima@src.gnome.org> | 2002-09-24 22:55:41 +0000 |
---|---|---|
committer | Hidetoshi Tajima <tajima@src.gnome.org> | 2002-09-24 22:55:41 +0000 |
commit | 8cc9e8cfa939aa459c0ee560c26d789f22197ad3 (patch) | |
tree | 21425fa56f661c038e6624c7e1f249f1f48877bf /gtk/gtkenums.h | |
parent | 7a1a8a5f3760d21a574464c76f0e3859f86c16e5 (diff) | |
download | gdk-pixbuf-8cc9e8cfa939aa459c0ee560c26d789f22197ad3.tar.gz |
disable/enable preedit/status in GtkIMContextXIM (#59076)
* gnome-settings-xsettings.c: added two new xsettings
for GTK+ input method preedit and status styles.
With the other patch for gtk+, the preedit and status styles of
GTK+ input method are configurable with associated gconf schemas
keys:
"/desktop/gnome/interface/gtk-im-preedit-style"
"/desktop/gnome/interface/gtk-im-status-style"
Both are set to "callback" by default, and platform's
packging can have different default by changing
libgnome's desktop_gnome_interface.schemas.
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r-- | gtk/gtkenums.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 5880af769..44da0244e 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -425,6 +425,19 @@ typedef enum GTK_SORT_DESCENDING } GtkSortType; +/* Style for gtk input method preeeit/status */ +typedef enum +{ + GTK_IM_PREEDIT_NOTHING, + GTK_IM_PREEDIT_CALLBACK +} GtkIMPreeditStyle; + +typedef enum +{ + GTK_IM_STATUS_NOTHING, + GTK_IM_STATUS_CALLBACK +} GtkIMStatusStyle; + #ifdef __cplusplus } #endif /* __cplusplus */ |