This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Includes
creewick edited this page Jun 29, 2022
·
1 revision
#@#/Scripts/Includes/Context.ini
Add the ability to add context menus for your widget. You can have different context menus inside a single widget. It's already included inside Widget.inc
Create a file #@#/Scripts/Contexts/[your_context].ini
with the following pattern and fill it with your labels and actions.
[Variables]
[your_context]ContextTitle=
[your_context]ContextAction=
[your_context]ContextTitle2=
[your_context]ContextAction2=
...
Then, if you need to access this context menu by clicking a meter, use this code:
LeftMouseUpAction=[!SetVariable Context "[your_context]"][!SkinCustomMenu]
#@#/Scripts/Includes/Settings.ini
A template to show a settings screen. Show a localized widget title, description and Save button.