MCPcopy Create free account
hub / github.com/NetHack/NetHack / ghack_accelerator_selected

Function ghack_accelerator_selected

outdated/win/gnome/gnmain.c:180–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180static void
181ghack_accelerator_selected(GtkWidget *widget, gpointer data)
182{
183 GdkEventKey event;
184 int key = GPOINTER_TO_INT(data);
185 /* g_message("An accelerator for \"%c\" was selected", key); */
186 /* stuff a key directly into the keybuffer */
187 event.state = 0;
188 event.keyval = key;
189 ghack_handle_key_press(NULL, &event, NULL);
190}
191
192#ifndef M
193#ifndef NHSTDC

Callers

nothing calls this directly

Calls 1

ghack_handle_key_pressFunction · 0.85

Tested by

no test coverage detected