ergtk-keyb.h File Reference

#include <gdk/gdk.h>
#include <gtk/gtk.h>
Include dependency graph for ergtk-keyb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _ErGtkKeyb
struct  _ErGtkKeybClass

Defines

#define ERGTK_TYPE_KEYB   (ergtk_keyb_get_type ())
#define ERGTK_KEYB(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), ERGTK_TYPE_KEYB, ErGtkKeyb))
#define ERGTK_KEYB_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), ERGTK_TYPE_KEYB, ErGtkKeybClass))
#define ERGTK_IS_KEYB(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ERGTK_TYPE_KEYB))
#define ERGTK_IS_KEYB_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), ERGTK_TYPE_KEYB))
#define ERGTK_KEYB_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), ERGTK_TYPE_KEYB, ErGtkKeybClass))

Typedefs

typedef struct _ErGtkKeyb ErGtkKeyb
typedef struct _ErGtkKeybClass ErGtkKeybClass
typedef struct _ErGtkKeybPrivate ErGtkKeybPrivate

Functions

GType ergtk_keyb_get_type (void) G_GNUC_CONST
GtkWidget * ergtk_keyb_new (void)
void ergtk_keyb_reset_keymap (ErGtkKeyb *thiz)

Define Documentation

#define ERGTK_IS_KEYB ( obj   )     (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ERGTK_TYPE_KEYB))

Definition at line 47 of file ergtk-keyb.h.

#define ERGTK_IS_KEYB_CLASS ( klass   )     (G_TYPE_CHECK_CLASS_TYPE ((klass), ERGTK_TYPE_KEYB))

Definition at line 48 of file ergtk-keyb.h.

#define ERGTK_KEYB ( obj   )     (G_TYPE_CHECK_INSTANCE_CAST ((obj), ERGTK_TYPE_KEYB, ErGtkKeyb))
#define ERGTK_KEYB_CLASS ( klass   )     (G_TYPE_CHECK_CLASS_CAST ((klass), ERGTK_TYPE_KEYB, ErGtkKeybClass))

Definition at line 46 of file ergtk-keyb.h.

#define ERGTK_KEYB_GET_CLASS ( obj   )     (G_TYPE_INSTANCE_GET_CLASS ((obj), ERGTK_TYPE_KEYB, ErGtkKeybClass))

Definition at line 49 of file ergtk-keyb.h.

#define ERGTK_TYPE_KEYB   (ergtk_keyb_get_type ())

Copyright (C) 2009 iRex Technologies B.V. All rights reserved.

Definition at line 44 of file ergtk-keyb.h.


Typedef Documentation

typedef struct _ErGtkKeyb ErGtkKeyb

Definition at line 55 of file ergtk-keyb.h.

Definition at line 56 of file ergtk-keyb.h.

Definition at line 57 of file ergtk-keyb.h.


Function Documentation

GType ergtk_keyb_get_type ( void   ) 

Referenced by ergtk_keyb_new().

Here is the caller graph for this function:

GtkWidget* ergtk_keyb_new ( void   ) 

Definition at line 314 of file ergtk-keyb.c.

References DBG_ENTRY, DBG_EXIT, and ergtk_keyb_get_type().

Referenced by button_clicked_callback(), create_account_window(), filefind_dialog_create(), realize_keyboard(), and rename_dialog_create().

00315 {
00316     DBG_ENTRY;
00317 
00318     ErGtkKeyb* result = NULL ; 
00319 
00320     result = g_object_new(ergtk_keyb_get_type(), "num-alternatives", 4, NULL ) ;
00321 
00322     DBG_EXIT;
00323     return GTK_WIDGET( result );
00324 }

Here is the call graph for this function:

Here is the caller graph for this function:

void ergtk_keyb_reset_keymap ( ErGtkKeyb thiz  ) 

Definition at line 326 of file ergtk-keyb.c.

References _ErGtkKeybPrivate::current_alt_keyb_num, DBG, DBG_ENTRY, DBG_EXIT, ergtk_keyb_redraw_keyboard(), and _ErGtkKeyb::priv.

Referenced by keyboard_show().

00327 {
00328     DBG_ENTRY;
00329 
00330     ErGtkKeybPrivate* priv = thiz->priv;
00331 
00332     DBG("Resetting alternate keymap 0.\n");
00333     priv->current_alt_keyb_num = 0 ;
00334     ergtk_keyb_redraw_keyboard(thiz);
00335 
00336     DBG_EXIT;
00337 }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  doxygen 1.6.2-20100208