|
gtk.Window() and accelerator: msg#00085gnome.gtk+.python
Hi. I want to add an accelerator to my gtk.Window(). After I read the pygtk reference several hours I meant this is the right way. accelgroup = gtk.AccelGroup() window1.add_accel_group(accelgroup) window1.add_accelerator('destroy', accelgroup, 113, gtk.gdk.CONTROL_MASK, 0) But it doesn't work. I become this message: GtkWarning: gtkwidget.c:3075: widget `GtkWindow' has no activatable signal "destroy" without arguments So I think the construction of add_accelerator is correct. Only the signal isn't the right one. Which signal I must use? Greetings Marcus _______________________________________________ pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Get value of selected treeview rows: 00085, Marcus Habermehl |
|---|---|
| Next by Date: | Re: gtk.Window() and accelerator: 00085, John Finlay |
| Previous by Thread: | libnautilus-burn-python on gnome-python-extras?i: 00085, Tiago Cogumbreiro |
| Next by Thread: | Re: gtk.Window() and accelerator: 00085, John Finlay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |