It is currently July 4th, 2022, 5:55 am

Advanced custom skin context menus

Tips and Tricks from the Rainmeter Community
User avatar
creewick
Posts: 37
Joined: March 4th, 2022, 2:43 pm
Location: Yekaterinburg, Russia

Re: Advanced custom skin context menus

Post by creewick »

balala wrote: March 18th, 2022, 6:52 pm There is a small error in the LeftMouseUpAction option of the [Language] meter. It is mistakenly written as LenftMouseUpAction.
My bad, made a typo
nek wrote: March 18th, 2022, 3:44 pm Another example of the context menus.
I wonder does writing a variable to a file on every menu call affects performance somehow?
But it's still a good example, and having a single Menu.ini with separated *.inc files for every usage case looks very clean :thumbup:
User avatar
Yincognito
Rainmeter Sage
Posts: 4724
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Advanced custom skin context menus

Post by Yincognito »

creewick wrote: March 18th, 2022, 7:23 pm My bad, made a typo



I wonder does writing a variable to a file on every menu call affects performance somehow?
But it's still a good example, and having a single Menu.ini with separated *.inc files for every usage case looks very clean :thumbup:
As long as it's not done every few milliseconds, it shouldn't be a problem. I could have yet another way of making dynamic "context menus" (which would be a dynamically populated skin, actually) via adapting my custom tooltip system, but in my view, as long as things can be adjusted via nested variable syntax like SilverAzide mentioned, all the other methods involve more work.