Hi,
I'm using Dia 0.82 but was wondering if it was possible to make keyboard
shortcuts for the tools
(possibly bindable through .rc files).

I tried making the spacebar choose the MODIFY tool by adding this to
app/disp_callbacks.c
where keystroke events are processed but it didn't work:


        case GDK_space:
          tool_select(MODIFY_TOOL, NULL, NULL);
          break; 

A quick pointer to how one changes tools would help me; I would even
consider adding bindable
keyboard support, but don't know how GTK does keyboard bindings.

Actually, adding the basic tools to a menu would allow users of gtk+ to
bind keys themselves
(put the mouse over a menu, hit the shortcut key).

Could this be done?

Thanks,
Ned Konz

Reply via email to