WebGUIAPI 1.2605.1202__tar.gz → 1.2605.2001__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: WebGUIAPI
3
- Version: 1.2605.1202
3
+ Version: 1.2605.2001
4
4
  Summary: WebGUIAPI Python package
5
5
  Author-email: James Lin <tylin123@ms27.hinet.net>
6
6
  License: Copyright (c) 2025 James Lin
@@ -37,6 +37,21 @@ Dynamic: license-file
37
37
  #WebGUIAPI
38
38
 
39
39
  ## History of version
40
+ Version 1.2605.2001: 2026/05/20<BR>
41
+ Add new component TPageControl, TTabSheet.
42
+ Implement events onMouseKeyDown, onMouseKeyUp, onKeyDown, onKeyUp for TComponent
43
+ Fix TImage problem and add display style properties.
44
+
45
+
46
+ Version 1.2605.1401: 2026/05/14<BR>
47
+ Add Components:
48
+ TDateComboBox, TTimeComboBox, TRadioButton
49
+ Improve Function:
50
+ TMemo: Add OnChange Event
51
+ TComponent:
52
+ Add OnClick Event
53
+
54
+
40
55
  Version 1.2605.1202: 2026/05/12<BR>
41
56
  Fixed:Prevent flash exit in different os.
42
57
 
@@ -1,6 +1,21 @@
1
1
  #WebGUIAPI
2
2
 
3
3
  ## History of version
4
+ Version 1.2605.2001: 2026/05/20<BR>
5
+ Add new component TPageControl, TTabSheet.
6
+ Implement events onMouseKeyDown, onMouseKeyUp, onKeyDown, onKeyUp for TComponent
7
+ Fix TImage problem and add display style properties.
8
+
9
+
10
+ Version 1.2605.1401: 2026/05/14<BR>
11
+ Add Components:
12
+ TDateComboBox, TTimeComboBox, TRadioButton
13
+ Improve Function:
14
+ TMemo: Add OnChange Event
15
+ TComponent:
16
+ Add OnClick Event
17
+
18
+
4
19
  Version 1.2605.1202: 2026/05/12<BR>
5
20
  Fixed:Prevent flash exit in different os.
6
21
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "WebGUIAPI"
7
- version = "1.2605.1202"
7
+ version = "1.2605.2001"
8
8
  requires-python = ">=3.10"
9
9
  description = "WebGUIAPI Python package"
10
10
  authors = [
@@ -1,11 +1,53 @@
1
1
  from _typeshed import Incomplete
2
2
  from enum import Enum
3
3
 
4
+ class TMouseButton(Enum):
5
+ mbLeft = 0
6
+ mbMiddle = 1
7
+ mbRight = 2
8
+
9
+ class TShiftState(Enum):
10
+ ssShift = 'Shift'
11
+ ssAlt = 'Alt'
12
+ ssCtrl = 'Control'
13
+ ssMeta = 'Meta'
14
+
15
+ class TMouseEventArgs:
16
+ raw: Incomplete
17
+ X: Incomplete
18
+ Y: Incomplete
19
+ Button: Incomplete
20
+ Shift: Incomplete
21
+ def __init__(self, e) -> None: ...
22
+
23
+ class TKeyEventArgs:
24
+ raw: Incomplete
25
+ Key: Incomplete
26
+ Code: Incomplete
27
+ Shift: Incomplete
28
+ def __init__(self, e) -> None: ...
29
+
30
+ class TImageDisplayStyle(Enum):
31
+ Normal = ''
32
+ FadeIn = 'fade-in'
33
+ ZoomIn = 'zoom-in'
34
+ SlideUp = 'slide-up'
35
+ Bounce = 'bounce-in'
36
+
4
37
  class TComponent:
5
38
  parent: Incomplete
6
39
  children: Incomplete
40
+ Tag: int
41
+ onClick: Incomplete
42
+ onMouseMove: Incomplete
43
+ onMouseKeyDown: Incomplete
44
+ onMouseKeyUp: Incomplete
45
+ onKeyDown: Incomplete
46
+ onKeyUp: Incomplete
7
47
  def __init__(self, parent=None) -> None: ...
8
48
  @property
49
+ def ClassName(self): ...
50
+ @property
9
51
  def FontName(self): ...
10
52
  @FontName.setter
11
53
  def FontName(self, v) -> None: ...
@@ -56,6 +98,8 @@ class TForm:
56
98
  def Show(self, new_tab: bool = False) -> None: ...
57
99
  def Close(self) -> None: ...
58
100
  @property
101
+ def FormGUID(self): ...
102
+ @property
59
103
  def Caption(self): ...
60
104
  @Caption.setter
61
105
  def Caption(self, value) -> None: ...
@@ -66,6 +110,7 @@ class TForm:
66
110
  def icon(self, url) -> None: ...
67
111
 
68
112
  class TLabel(TComponent):
113
+ onClick: Incomplete
69
114
  ui: Incomplete
70
115
  def __init__(self, parent=None, caption: str = '') -> None: ...
71
116
  @property
@@ -83,8 +128,14 @@ class TEdit(TComponent):
83
128
  def text(self, value) -> None: ...
84
129
 
85
130
  class TMemo(TComponent):
131
+ onChange: Incomplete
86
132
  ui: Incomplete
133
+ Lines: Incomplete
87
134
  def __init__(self, parent=None) -> None: ...
135
+ @property
136
+ def Text(self): ...
137
+ @Text.setter
138
+ def Text(self, value) -> None: ...
88
139
 
89
140
  class TButtonShape(Enum):
90
141
  Rectangle = 'Rectangle'
@@ -92,7 +143,6 @@ class TButtonShape(Enum):
92
143
  Circle = 'Circle'
93
144
 
94
145
  class TButton(TComponent):
95
- onClick: Incomplete
96
146
  ui: Incomplete
97
147
  def __init__(self, parent=None, caption: str = 'Button') -> None: ...
98
148
  @property
@@ -105,12 +155,36 @@ class TButton(TComponent):
105
155
  def Caption(self, value) -> None: ...
106
156
 
107
157
  class TCheckBox(TComponent):
158
+ onChange: Incomplete
159
+ onCLick: Incomplete
108
160
  ui: Incomplete
109
- def __init__(self, parent=None, caption: str = '') -> None: ...
161
+ def __init__(self, parent=None, caption: str = 'CheckBox') -> None: ...
162
+ @property
163
+ def Checked(self) -> bool: ...
164
+ @Checked.setter
165
+ def Checked(self, v: bool): ...
166
+ @property
167
+ def Caption(self): ...
168
+ @Caption.setter
169
+ def Caption(self, value) -> None: ...
170
+
171
+ class TRadioButton(TComponent):
172
+ onClick: Incomplete
173
+ Tag: int
174
+ ui: Incomplete
175
+ def __init__(self, parent=None, caption: str = 'RadioButton') -> None: ...
176
+ @property
177
+ def ButtonColor(self): ...
178
+ @ButtonColor.setter
179
+ def ButtonColor(self, value) -> None: ...
110
180
  @property
111
- def checked(self): ...
112
- @checked.setter
113
- def checked(self, value) -> None: ...
181
+ def Checked(self) -> bool: ...
182
+ @Checked.setter
183
+ def Checked(self, v: bool): ...
184
+ @property
185
+ def Caption(self): ...
186
+ @Caption.setter
187
+ def Caption(self, value) -> None: ...
114
188
 
115
189
  class TComboBox(TComponent):
116
190
  onChange: Incomplete
@@ -147,13 +221,20 @@ class TPanel(TComponent):
147
221
  def Image(self, src) -> None: ...
148
222
 
149
223
  class TImage(TComponent):
224
+ onLoadImage: Incomplete
225
+ onLoadImageFinish: Incomplete
226
+ onClick: Incomplete
150
227
  Align: Incomplete
151
228
  Stretch: bool
229
+ DisplayStyle: Incomplete
152
230
  wrapper: Incomplete
153
- img_obj: Incomplete
154
231
  ui: Incomplete
232
+ spinner: Incomplete
233
+ img_obj: Incomplete
234
+ child_layer: Incomplete
155
235
  def __init__(self, parent=None, src: str = '', width=None, height=None) -> None: ...
156
236
  def add_child_style(self, child) -> None: ...
237
+ def Clear(self) -> None: ...
157
238
  def LoadImage(self, src) -> None: ...
158
239
  @property
159
240
  def Width(self): ...
@@ -165,10 +246,16 @@ class TImage(TComponent):
165
246
  def Height(self, value) -> None: ...
166
247
 
167
248
  class TTimer:
168
- interval: Incomplete
169
249
  onTimer: Incomplete
170
- enabled: bool
171
250
  def __init__(self, interval: float = 1.0) -> None: ...
251
+ @property
252
+ def Enabled(self): ...
253
+ @Enabled.setter
254
+ def Enabled(self, value: bool): ...
255
+ @property
256
+ def Interval(self): ...
257
+ @Interval.setter
258
+ def Interval(self, value) -> None: ...
172
259
  def start(self) -> None: ...
173
260
  def stop(self) -> None: ...
174
261
 
@@ -326,3 +413,85 @@ class TProgressBar(TComponent):
326
413
  def BarColor(self): ...
327
414
  @BarColor.setter
328
415
  def BarColor(self, v) -> None: ...
416
+
417
+ class TDateComboBox(TComponent):
418
+ onChange: Incomplete
419
+ Tag: int
420
+ PopupWidth: str
421
+ PopupHeight: str
422
+ PopupCentered: bool
423
+ ui: Incomplete
424
+ icon: Incomplete
425
+ picker_container: Incomplete
426
+ date_picker: Incomplete
427
+ def __init__(self, parent=None, date_str: str = '', caption: str = '') -> None: ...
428
+ @property
429
+ def Caption(self): ...
430
+ @Caption.setter
431
+ def Caption(self, value) -> None: ...
432
+ @property
433
+ def Date(self): ...
434
+ @Date.setter
435
+ def Date(self, value) -> None: ...
436
+
437
+ class TTimeComboBox(TComponent):
438
+ onChange: Incomplete
439
+ Tag: int
440
+ PopupWidth: str
441
+ PopupHeight: str
442
+ PopupCentered: bool
443
+ ui: Incomplete
444
+ icon: Incomplete
445
+ picker_container: Incomplete
446
+ time_picker: Incomplete
447
+ def __init__(self, parent=None, time_str: str = '', caption: str = '') -> None: ...
448
+ @property
449
+ def Caption(self): ...
450
+ @Caption.setter
451
+ def Caption(self, value) -> None: ...
452
+ @property
453
+ def Time(self): ...
454
+ @Time.setter
455
+ def Time(self, value) -> None: ...
456
+
457
+ class TTabSheet(TComponent):
458
+ TabSheet: Incomplete
459
+ ui: Incomplete
460
+ def __init__(self, parent=None, caption: str = 'TabSheet') -> None: ...
461
+ def SetIcon(self, icon_url, icon_size: int = 24) -> None: ...
462
+ def SetFont(self, name=None, size=None, color=None) -> None: ...
463
+ @property
464
+ def Caption(self): ...
465
+ @Caption.setter
466
+ def Caption(self, value) -> None: ...
467
+ @property
468
+ def Visible(self): ...
469
+ @Visible.setter
470
+ def Visible(self, value) -> None: ...
471
+
472
+ class TPageControl(TComponent):
473
+ class TabsProxy:
474
+ owner: Incomplete
475
+ def __init__(self, owner) -> None: ...
476
+ @property
477
+ def Count(self): ...
478
+ def Sheet(self, index): ...
479
+ def __getitem__(self, index): ...
480
+ ui: Incomplete
481
+ tabs_ui: Incomplete
482
+ panels_ui: Incomplete
483
+ main_container: Incomplete
484
+ onChange: Incomplete
485
+ Tabs: Incomplete
486
+ FocusColor: Incomplete
487
+ def __init__(self, parent=None) -> None: ...
488
+ ActivePageIndex: int
489
+ def NewTabSheet(self, caption: str = 'New Page'): ...
490
+ @property
491
+ def FocusColor(self): ...
492
+ @FocusColor.setter
493
+ def FocusColor(self, value) -> None: ...
494
+ @property
495
+ def ActivePageIndex(self): ...
496
+ @ActivePageIndex.setter
497
+ def ActivePageIndex(self, index) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: WebGUIAPI
3
- Version: 1.2605.1202
3
+ Version: 1.2605.2001
4
4
  Summary: WebGUIAPI Python package
5
5
  Author-email: James Lin <tylin123@ms27.hinet.net>
6
6
  License: Copyright (c) 2025 James Lin
@@ -37,6 +37,21 @@ Dynamic: license-file
37
37
  #WebGUIAPI
38
38
 
39
39
  ## History of version
40
+ Version 1.2605.2001: 2026/05/20<BR>
41
+ Add new component TPageControl, TTabSheet.
42
+ Implement events onMouseKeyDown, onMouseKeyUp, onKeyDown, onKeyUp for TComponent
43
+ Fix TImage problem and add display style properties.
44
+
45
+
46
+ Version 1.2605.1401: 2026/05/14<BR>
47
+ Add Components:
48
+ TDateComboBox, TTimeComboBox, TRadioButton
49
+ Improve Function:
50
+ TMemo: Add OnChange Event
51
+ TComponent:
52
+ Add OnClick Event
53
+
54
+
40
55
  Version 1.2605.1202: 2026/05/12<BR>
41
56
  Fixed:Prevent flash exit in different os.
42
57
 
File without changes