developing gui
This commit is contained in:
@@ -1,4 +1,19 @@
|
||||
from data.settings import Settings
|
||||
import ctypes
|
||||
|
||||
|
||||
def popup(title, text, style=0):
|
||||
"""
|
||||
Styles:
|
||||
0 : OK
|
||||
1 : OK | Cancel
|
||||
2 : Abort | Retry | Ignore
|
||||
3 : Yes | No | Cancel
|
||||
4 : Yes | No
|
||||
5 : Retry | Cancel
|
||||
6 : Cancel | Try Again | Continue
|
||||
"""
|
||||
return ctypes.windll.user32.MessageBoxW(0, text, title, style)
|
||||
|
||||
|
||||
def fill_settings(ui) -> None:
|
||||
|
||||
Reference in New Issue
Block a user