#ifndef __UNICODE_BLOCK_H__
#define __UNICODE_BLOCK_H__

#include <glib-object.h>
#include <glib.h>
#include <gtk/gtk.h>
#include "unicode_char_info.h"

G_BEGIN_DECLS

#define UNICODELOOKUP_TYPE           (unicodelookup_get_type ())
#define UNICODELOOKUP(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
                                      UNICODELOOKUP_TYPE, UnicodeLookup))
#define UNICODELOOKUP_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), \
                                      UNICODELOOKUP_TYPE, UnicodeLookupClass))
#define IS_UNICODELOOKUP(obj)        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
                                      UNICODELOOKUP_TYPE))
#define IS_UNICODELOOKUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\
                                      UNICODELOOKUP_TYPE))
				    

typedef struct _UnicodeLookup UnicodeLookup;
typedef struct _UnicodeLookupClass UnicodeLookupClass;

struct _UnicodeLookup {
  GtkHPaned parent;
  GtkWidget   *block_selector;
  GtkWidget   *char_table;
  
  GtkTreeSelection *tree_selection;

  gulong block_selection_changed_handler_id;
  
};

struct _UnicodeLookupClass {
  GtkHPanedClass parent_class;
  
};

GType      unicodelookup_get_type (void);
GtkWidget *unicodelookup_new (void);

							      
G_END_DECLS

#endif
