[Glade-users] GtkButton how to receive key presses even t
Mariano Perez-Sauquillo Perera
mithrandir82 at gmail.com
Tue May 15 06:33:12 EDT 2007
hi guys,
the only thing that you have to do is :
GtkAccelGroup *accel_group;
*
*
*
gtk_widget_add_accelerator (botonTecla, "clicked", accel_group,
GDK_a, (GdkModifierType) 0,
GTK_ACCEL_VISIBLE);
g_signal_connect ((gpointer) botonTecla, "clicked",
G_CALLBACK (on_boton),
NULL);
*
*
*
gtk_window_add_accel_group (GTK_WINDOW (window), accel_group);
i hope it will help you.
cupp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070515/b08471f1/attachment.html
More information about the Glade-users
mailing list