Created
June 26, 2015 00:35
-
-
Save chergert/4784ef8c5ae0e7740921 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g_signal_new ("done", | |
G_TYPE_FROM_CLASS (klass), | |
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, | |
G_STRUCT_OFFSET (MyFooClass, done), | |
NULL, NULL, NULL, | |
G_TYPE_NONE, | |
0); | |
binding_set = gtk_binding_set_by_class (klass); | |
gtk_binding_entry_add_signal (binding_set, | |
GDK_KEY_Escape, | |
0, | |
"done", | |
0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment