Back to index

im-sdk  12.3.91
unicode_block.h
Go to the documentation of this file.
00001 #ifndef __UNICODE_BLOCK_H__
00002 #define __UNICODE_BLOCK_H__
00003 
00004 #include <glib-object.h>
00005 #include <glib.h>
00006 #include <gtk/gtk.h>
00007 #include "unicode_char_info.h"
00008 
00009 G_BEGIN_DECLS
00010 
00011 #define UNICODELOOKUP_TYPE           (unicodelookup_get_type ())
00012 #define UNICODELOOKUP(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
00013                                       UNICODELOOKUP_TYPE, UnicodeLookup))
00014 #define UNICODELOOKUP_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), \
00015                                       UNICODELOOKUP_TYPE, UnicodeLookupClass))
00016 #define IS_UNICODELOOKUP(obj)        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
00017                                       UNICODELOOKUP_TYPE))
00018 #define IS_UNICODELOOKUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\
00019                                       UNICODELOOKUP_TYPE))
00020                                 
00021 
00022 typedef struct _UnicodeLookup UnicodeLookup;
00023 typedef struct _UnicodeLookupClass UnicodeLookupClass;
00024 
00025 struct _UnicodeLookup {
00026   GtkHPaned parent;
00027   GtkWidget   *block_selector;
00028   GtkWidget   *char_table;
00029   
00030   GtkTreeSelection *tree_selection;
00031 
00032   gulong block_selection_changed_handler_id;
00033   
00034 };
00035 
00036 struct _UnicodeLookupClass {
00037   GtkHPanedClass parent_class;
00038   
00039 };
00040 
00041 GType      unicodelookup_get_type (void);
00042 GtkWidget *unicodelookup_new (void);
00043 
00044                                                        
00045 G_END_DECLS
00046 
00047 #endif