comparison console/libgnt/gntwidget.h @ 14239:a0b1ab181316

[gaim-migrate @ 16921] Allow remapping keys for widgets. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 20 Aug 2006 22:46:20 +0000
parents c65ed4f6eea8
children 985e5e3f6f2c
comparison
equal deleted inserted replaced
14238:f189327b9968 14239:a0b1ab181316
74 74
75 struct _GnWidgetClass 75 struct _GnWidgetClass
76 { 76 {
77 GObjectClass parent; 77 GObjectClass parent;
78 78
79 GHashTable *remaps; /* Key remaps */
80
79 void (*map)(GntWidget *obj); 81 void (*map)(GntWidget *obj);
80 void (*show)(GntWidget *obj); /* This will call draw() and take focus (if it can take focus) */ 82 void (*show)(GntWidget *obj); /* This will call draw() and take focus (if it can take focus) */
81 void (*destroy)(GntWidget *obj); 83 void (*destroy)(GntWidget *obj);
82 void (*draw)(GntWidget *obj); /* This will draw the widget */ 84 void (*draw)(GntWidget *obj); /* This will draw the widget */
83 void (*expose)(GntWidget *widget, int x, int y, int width, int height); 85 void (*expose)(GntWidget *widget, int x, int y, int width, int height);