#include <gdk/gdk.h>
#include <gtk/gtk.h>
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 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)) |
Definition at line 45 of file ergtk-keyb.h.
Referenced by ergtk_keyb_finalize(), ergtk_keyb_get_property(), ergtk_keyb_set_property(), and keyboard_show().
#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 struct _ErGtkKeyb ErGtkKeyb |
Definition at line 55 of file ergtk-keyb.h.
typedef struct _ErGtkKeybClass ErGtkKeybClass |
Definition at line 56 of file ergtk-keyb.h.
typedef struct _ErGtkKeybPrivate ErGtkKeybPrivate |
Definition at line 57 of file ergtk-keyb.h.
GType ergtk_keyb_get_type | ( | void | ) |
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 }
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 }