Back to index

im-sdk  12.3.91
property_window.h
Go to the documentation of this file.
00001 #ifndef _PROPERTY_WINDOW_H_
00002 #define _PROPERTY_WINDOW_H_
00003 
00004 #include <gtk/gtk.h>
00005 
00006 #include "property_data.h"
00007 
00008 typedef struct _ime_property_widget_t {
00009     ImePropertyRec *ime_property;
00010     GtkWidget *widget;
00011 } ime_property_widget_t;
00012 
00013 typedef struct _ime_module_widget_t {
00014     int num_ime_properties;
00015     ime_property_widget_t **ime_property_widgets;
00016 } ime_module_widget_t;
00017 
00018 typedef struct _property_window_t {
00019     GtkWidget *main_window;
00020 
00021     GtkTreeStore *category_list_model;
00022     GtkWidget *category_list_view;
00023 
00024     GtkListStore *ime_list_model;
00025     GtkWidget *ime_list_view;
00026 
00027     GtkWidget *work_area;
00028 
00029     GtkWidget *apply_button;
00030     GtkWidget *restore_button;
00031 
00032     int modified_status;
00033 
00034     GtkWidget *widget_show_ime_icon;
00035     GtkWidget *widget_show_qjbj_icon;
00036     GtkWidget *widget_show_punct_icon;
00037     GtkWidget *widget_show_vkb_icon;
00038     GtkWidget *widget_show_utility_icon;
00039 
00040     GtkWidget *widget_direction_vertical;
00041     GtkWidget *widget_direction_horizontal;
00042 
00043     GtkWidget *widget_fkey_vkb_list;
00044 
00045     GtkWidget *widget_beep_enabled;
00046     GtkWidget *widget_beep_disabled;
00047 
00048     int num_ime_modules;
00049     ime_module_widget_t **ime_module_widgets;
00050 
00051 } property_window_t;
00052 
00053 #endif /* _PROPERTY_WINDOW_H_ */