1 2 3 4 5 6 7 8 9
|
accelerator_new (pApp->pAccelGroup, "<Control>N", ACCEL_PATH_NEW, G_CALLBACK (accel_new), (gpointer) pApp);
accelerator_new (pApp->pAccelGroup, "<Control>O", ACCEL_PATH_OPEN, G_CALLBACK(accel_open), (gpointer) pApp);
accelerator_new (pApp->pAccelGroup, "<Control>S", ACCEL_PATH_SAVE, G_CALLBACK(accel_save), (gpointer) pApp);
accelerator_new (pApp->pAccelGroup, "<Control><Shift>S", ACCEL_PATH_SAVEAS, G_CALLBACK(accel_saveAs), (gpointer) pApp);
accelerator_new (pApp->pAccelGroup, "<Control>W", ACCEL_PATH_CLOSE, G_CALLBACK(accel_close), (gpointer) pApp);
accelerator_new (pApp->pAccelGroup, "<Control>Q", ACCEL_PATH_QUIT, G_CALLBACK(accel_quit), (gpointer) pApp);
accelerator_new (pApp->pAccelGroup, "<Control>F5", ACCEL_PATH_PREFERENCES, G_CALLBACK(accel_preferences), (gpointer) pApp); |
Partager