
The panel
The panel at the top of the document window displays a different set of fields and controls for each tool.
* Alt+x jump to the first editable field in the secondary toolbar * Enter set the current field's new value (if changed) and leave the secondary toolbar * Esc cancel any changes in the current field and leave the secondary toolbar * Ctrl+z cancel any changes in the current field * Tab, Shift+Tab jump between fields in the secondary toolbar (the value in the field you leave, if changed, is set) * Up/Down arrows change the current value by 0.1 * PgUp/PgDn change the current value by 5.0
This is the basic set of keybindings that makes the panel (aka secondary toolbar, but I like the "panel" term better) usable. Some of this functionality was provided by GTK but had to be cleaned up, some was implemented from scratch. Not to start a flamewar, but my impression of GTK so far is not too favorable: messy, underdocumented, somewhat similar to GIMP itself in its "interface" (I mean the programmer's interface, not only GUI). I don't know if other toolkits are much better, though.
Questions for everyone:
- alt-x: I like this shortcut, but if anyone will propose a better one I will be glad to hear.
- Is alt-x plus tab/shift-tab enough for navigating the toolbar, or do we want each widget to have its own shortcut? Or will this be too much, with potentially tens of widgets in all tools? Of course such shortcuts would use consistent modifiers and would correspond to the widget labels, e.g. for the selector toolbar: ctrl-alt-x, ctrl-alt-y, ctrl-alt-w, ctrl-alt-h.
- Now alt-x is implemented very stupidly, through grab_focus of a specific widget. I tried to use GTK "accelerators" but was unable to make them work. Does anyone know if Inkscape uses GTK accelerators? If not, how are the global verbs implemented? If I manage to add an accelerator group to the top-level document window, will it conflict with verbs? Can one point me to a not-too-complex GTK app that uses accelerators so I could figure it out? (The documentation is very scarce.)
P.S. I've tried to send this message several times. Guess what, sourceforge was rejecting it as spam because in the phrase "through grab_focus" I had "via" instead of "through" - which matched the regexp for some well-known substance name! Oh my. Hope it will pass through this time.
_________________________________________________________________ Check out the new MSN 9 Dial-up � fast & reliable Internet access with prime features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1