barewingui 0.2.0b1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
barewingui/__init__.py ADDED
@@ -0,0 +1,114 @@
1
+ """
2
+ barewingui
3
+ ~~~~~~~~~~
4
+ Native Windows GUIs for Python: real Win32 controls, flexbox-style layout, no dependencies.
5
+
6
+ Beta (0.2.0b1). Importable everywhere; creating an App needs Windows.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from barewingui.app import App
12
+ from barewingui.dpi import Scale
13
+ from barewingui.controls import (
14
+ Button,
15
+ CheckBox,
16
+ ComboBox,
17
+ DatePicker,
18
+ GroupBox,
19
+ Label,
20
+ ListBox,
21
+ ListView,
22
+ ProgressBar,
23
+ RadioButton,
24
+ Slider,
25
+ SpinBox,
26
+ StatusBar,
27
+ TabControl,
28
+ TabPage,
29
+ TextBox,
30
+ TextInput,
31
+ TimePicker,
32
+ TreeNode,
33
+ TreeView,
34
+ )
35
+ from barewingui.dialogs import (
36
+ FontChoice,
37
+ ask_ok_cancel,
38
+ ask_yes_no,
39
+ choose_color,
40
+ choose_font,
41
+ input_box,
42
+ message_box,
43
+ open_file,
44
+ pick_folder,
45
+ save_file,
46
+ show_error,
47
+ show_info,
48
+ show_warning,
49
+ )
50
+ from barewingui.errors import BareWinGUIError, LayoutError, PlatformError
51
+ from barewingui.events import Event
52
+ from barewingui.menu import ContextMenu, Menu, MenuBar, MenuItem, MenuSeparator
53
+ from barewingui.layout import Flex, HBox, Rect, Size, Spacer, Stack, VBox
54
+ from barewingui.timer import Timer
55
+ from barewingui.window import Window
56
+
57
+ __version__ = "0.2.0b1"
58
+
59
+ __all__ = [
60
+ "App",
61
+ "FontChoice",
62
+ "ask_ok_cancel",
63
+ "ask_yes_no",
64
+ "choose_color",
65
+ "choose_font",
66
+ "input_box",
67
+ "message_box",
68
+ "open_file",
69
+ "pick_folder",
70
+ "save_file",
71
+ "show_error",
72
+ "show_info",
73
+ "show_warning",
74
+ "ContextMenu",
75
+ "Menu",
76
+ "MenuBar",
77
+ "MenuItem",
78
+ "MenuSeparator",
79
+ "Timer",
80
+ "BareWinGUIError",
81
+ "Button",
82
+ "CheckBox",
83
+ "ComboBox",
84
+ "DatePicker",
85
+ "Event",
86
+ "GroupBox",
87
+ "Label",
88
+ "ListBox",
89
+ "ListView",
90
+ "ProgressBar",
91
+ "RadioButton",
92
+ "Slider",
93
+ "SpinBox",
94
+ "StatusBar",
95
+ "TabControl",
96
+ "TabPage",
97
+ "TextBox",
98
+ "TextInput",
99
+ "TimePicker",
100
+ "TreeNode",
101
+ "TreeView",
102
+ "Flex",
103
+ "HBox",
104
+ "LayoutError",
105
+ "PlatformError",
106
+ "Rect",
107
+ "Scale",
108
+ "Size",
109
+ "Spacer",
110
+ "Stack",
111
+ "VBox",
112
+ "Window",
113
+ "__version__",
114
+ ]