-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.1.6 - tk-window + plgin + opacity loop
- Loading branch information
1 parent
33ddfa3
commit f25a86e
Showing
10 changed files
with
327 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ venv/ | |
*.egg-info/ | ||
dist/ | ||
build/ | ||
decoded/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# plugin_hello_world.py | ||
|
||
import tkinter as tk | ||
from tkinter import messagebox | ||
|
||
def run(app_context): | ||
"""The main function that gets called when the plugin is activated.""" | ||
# Display a Hello World message box | ||
root = tk.Tk() | ||
root.withdraw() | ||
messagebox.showinfo("Hello Plugin", "Hello, World!") | ||
root.destroy() | ||
|
||
def get_plugin_info(): | ||
"""Returns metadata about the plugin.""" | ||
return { | ||
'name': 'Hello World Plugin', | ||
'id': 'plugin_hello_world', | ||
'description': 'A sample plugin that shows a Hello World message.', | ||
'author': 'Jim', | ||
'version': '1.0', | ||
'default_shortcut': 'esc', | ||
'press_times': 4, | ||
'enabled': True | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.