[Glade-devel] Commit -- latest patches
paolo borelli
pborelli@katamail.com
07 May 2003 20:13:01 +0200
On Wed, 2003-05-07 at 19:30, Joaquin Cuenca Abela wrote:
> The idea was not to show a dialog, but:
>
> 1) show a non decorated window, with only a label saying:
>
> "Press the combination of keys that you want to use as shortcut bla bla
> bla"
>
> 2) do a keyboard grab
>
> 3) get the next keypress
>
> 4) remove grab, destroy window, and put the keypress on a label or
> something
>
> Kind of when you set a shortcut to an action on sawfish (or at least, it
> was something like that some years ago).
>
> The pseudo edit box approach is more or less the same thing that you can
> find on games to setup your keyboard.
>
> Cheers,
>
Now that you describe it better, it makes much more sense :)
ciao
paolo