Re: Binding to a self-defined popup menu

Am Wed, 23 Dec 2009 12:47:19 +0100
schrieb Fabrice DELENTE <fdelente mail cpod fr>:

> Hello.
> I'd like to bind a key sequence to the apperance of a self-defined
> apps menu (not the one that appears in tne root menu).
> Is there a way to do that? I looked at the bindings in the UI
> configurator, and found "call-command", but it prompts for a command
> on the screen; I'd like to be able to call uninteractively a command
> that I could define in my .sawfish/rc.
> Is it possible?
> Thanks!

(define (popup-delente-menu)
  "Popup Fabrice Delentes Menu."
  (popup-menu delente-menu))

(define-command 'popup-delente-menu popup-delente-menu)

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