comparison finch/libgnt/gntwindow.h @ 21212:b65f1bff6412

Allow binding key-shortcuts to menuitems. For example, to bind ctrl+m to the 'Options -> Send IM...' menu, you would add: [buddylist::menu] c-m = send-im in ~/.gntrc
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 03 Oct 2007 06:51:26 +0000
parents 44b4e8bd759b
children d275275a011c
comparison
equal deleted inserted replaced
21210:5a12b881ac39 21212:b65f1bff6412
50 50
51 struct _GntWindow 51 struct _GntWindow
52 { 52 {
53 GntBox parent; 53 GntBox parent;
54 GntMenu *menu; 54 GntMenu *menu;
55 GntWindowPriv *priv;
55 }; 56 };
56 57
57 struct _GntWindowClass 58 struct _GntWindowClass
58 { 59 {
59 GntBoxClass parent; 60 GntBoxClass parent;
97 * @param window 98 * @param window
98 * @param menu 99 * @param menu
99 */ 100 */
100 void gnt_window_set_menu(GntWindow *window, GntMenu *menu); 101 void gnt_window_set_menu(GntWindow *window, GntMenu *menu);
101 102
103 const char * gnt_window_get_accel_item(GntWindow *window, const char *key);
104
102 void gnt_window_workspace_hiding(GntWindow *); 105 void gnt_window_workspace_hiding(GntWindow *);
103 void gnt_window_workspace_showing(GntWindow *); 106 void gnt_window_workspace_showing(GntWindow *);
104 107
105 G_END_DECLS 108 G_END_DECLS
106 109