[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA: gschem new page = space



Ales Hvezda wrote:
> [snip]
>> Umm, the problem here isn't the definition of the space bar = "new page".  The
>> problem is that the space bar is the same as the 1st mouse button (or "pick"
>> or "select" button if you will) and pressing the space bar is the same as pres
>> sing
>> the "new page" button on the toolbar.  The solution would then be in how to
>> cause the default selected button on the toolbar be the "arrow" or "select" bu
>> tton
>> that is located at the far right of the toolbar (and is normally the default i
>> n any
>> other CAD program I've ever used).  And schematic drafting is just a special f
>> orm
>> of CAD drafting!
> 
> 	The order of the buttons is more or less a gtk/gnome standard
> and this behavior with the space key and the toolbar is a gtk+ "feature".
> I looked for a way to disable it, but I could not find anything that
> worked.  However, if you put the following into a gschemrc file:
> 
> (toolbars "disabled")
> 
> then you can completely disable the toolbar and you won't get this annoying
> behavior.   If somebody wants to spend some time looking into how to 
> disable the space "feature", let me know.

Uh, couldn't you move the focus in software away from the buttons
so that they don't receive keystrokes? I.e. put the keyboard focus
into the drawing area?


-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
http://www.icarus.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."