On Thu, Aug 17, 2017 at 7:50 PM, Doug Torrance <dtorra...@piedmont.edu>
wrote:

> On 08/17/2017 10:37 AM, Rodolfo (kix) wrote:
>
>> I need two things:
>>
>> - example of usermenu
>>
>
> From NEWS:
>
> Application User Menu
>> ---------------------
>>
>> Applications with an appicon can have a user defined menu.
>>
>> This menu will emulate keyboard events, and will be sent to the
>> applications'
>> window(s), thus the application must accept key combinations (CTRL+N for
>> instance).
>>
>> To enable this feature, #define USER_MENU in src/wconfig.h and place menu
>> files in ~/GNUstep/Defaults/UserMenus (/usr/local/etc/WindowMaker/Us
>> erMenus
>> globally).
>>
>> The user menu is in PropList format and the filename is in:
>> <instance name>.<class name>.menu or application's main window.
>> (Example: the menu for xcalc would be - xcalc.XCalc.menu)
>>
>> Example user menu syntax:
>>
>> (
>>   "Calculator",
>>   ("Put 1", SHORTCUT, "2"),
>>   ("Functions",
>>     ("Put 2", SHORTCUT, "2"),
>>     ("Put 3,4 and 5", SHORTCUT, (3,4,5))
>>   ),
>>   ("Exit", SHORTCUT, "Control+q")
>> )
>>
>
> This looks like a pretty cool feature -- I'll have to play around with it!
>
> - example of application using appmenu and how to use it.
>>
>
> test/wtest.c is a little test app with an appmenu.
>
> Have a good one,
> Doug
>
>
>
>
>
>
> --
> To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.
>

Thanks a lot Doug,

I was testing it. I didn't have problems with the usermenu, but running
wtest I can't see the appmenu.

The problem is only here?

-- 
Rodolfo GarcĂ­a "kix"
http://www.kix.es/

Reply via email to