Back to index

im-sdk  12.3.91
Classes | Defines | Typedefs | Functions
chartable.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CharTable
struct  _CharTableClass

Defines

#define CHARTABLE_TYPE   (chartable_get_type ())
#define CHARTABLE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHARTABLE_TYPE, CharTable))
#define CHARTABLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), CHARTABLE_TYPE, CharTableClass))
#define IS_CHARTABLE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHARTABLE_TYPE))
#define IS_CHARTABLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), CHARTABLE_TYPE))
#define CHARTABLE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), CHARTABLE_TYPE, CharTableClass))

Typedefs

typedef struct _CharTable
typedef struct _CharTableClass

Functions

GtkWidget * chartable_new (void)
GtkWidget * chartable_new_with_range (guint begin, guint end)
void chartable_set_begin (CharTable *table, guint begin)
void chartable_set_end (CharTable *table, guint begin)

Class Documentation

struct _CharTable

Definition at line 16 of file chartable.h.

Class Members
guint _begin
guint _end
GtkObject * adjustment
gulong adjustment_changed_handler_id
GtkWidget * drawingarea
PangoFontMetrics * font_metrics
gchar * font_name
guint ncols
guint nrows
PangoLayout * pango_layout
GtkHBox parent
GdkPixmap * pixmap
struct _CharTableClass

Definition at line 34 of file chartable.h.

Class Members
GtkHBoxClass parent_class

Define Documentation

#define CHARTABLE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHARTABLE_TYPE, CharTable))

Definition at line 7 of file chartable.h.

#define CHARTABLE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CHARTABLE_TYPE, CharTableClass))

Definition at line 8 of file chartable.h.

#define CHARTABLE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), CHARTABLE_TYPE, CharTableClass))

Definition at line 11 of file chartable.h.

Definition at line 6 of file chartable.h.

#define IS_CHARTABLE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHARTABLE_TYPE))

Definition at line 9 of file chartable.h.

#define IS_CHARTABLE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), CHARTABLE_TYPE))

Definition at line 10 of file chartable.h.


Typedef Documentation

typedef struct _CharTable

Definition at line 13 of file chartable.h.

typedef struct _CharTableClass

Definition at line 14 of file chartable.h.


Function Documentation

GtkWidget* chartable_new ( void  )

Definition at line 289 of file chartable.c.

{
  return g_object_new (CHARTABLE_TYPE, NULL);
}
GtkWidget* chartable_new_with_range ( guint  begin,
guint  end 
)

Definition at line 295 of file chartable.c.

{
  guint real_begin, real_end;

  real_begin = (begin & 0xff00);
  real_end = (end | 0x00ff);
  
  return g_object_new (CHARTABLE_TYPE,
                     "code_begin", real_begin,
                     "code_end", real_end,
                     NULL);
}

Here is the caller graph for this function:

void chartable_set_begin ( CharTable *  table,
guint  begin 
)

Definition at line 309 of file chartable.c.

{
  table->_begin = (begin & 0xff00);
  g_object_notify (G_OBJECT (table), "code_begin");
}

Here is the caller graph for this function:

void chartable_set_end ( CharTable *  table,
guint  begin 
)

Definition at line 316 of file chartable.c.

{
  table->_end = (end | 0x00ff);
  g_object_notify (G_OBJECT (table), "code_end");
}

Here is the caller graph for this function: