WebGUIAPI 1.2605.1401__tar.gz → 1.2605.2101__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.1401
3
+ Version: 1.2605.2101
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,17 @@ Dynamic: license-file
37
37
  #WebGUIAPI
38
38
 
39
39
  ## History of version
40
+ Version 1.2605.2101: 2026/05/21<BR>
41
+ Add new TPanel
42
+ Add new properties: Enabled, Visible for TComponent
43
+ Fixed TPageControl bugs.
44
+
45
+
46
+ Version 1.2605.2001: 2026/05/20<BR>
47
+ Add new component TPageControl, TTabSheet.
48
+ Implement events onMouseKeyDown, onMouseKeyUp, onKeyDown, onKeyUp for TComponent
49
+ Fix TImage problem and add display style properties.
50
+
40
51
  Version 1.2605.1401: 2026/05/14<BR>
41
52
  Add Components:
42
53
  TDateComboBox, TTimeComboBox, TRadioButton
@@ -45,7 +56,6 @@ TMemo: Add OnChange Event
45
56
  TComponent:
46
57
  Add OnClick Event
47
58
 
48
-
49
59
  Version 1.2605.1202: 2026/05/12<BR>
50
60
  Fixed:Prevent flash exit in different os.
51
61
 
@@ -1,6 +1,17 @@
1
1
  #WebGUIAPI
2
2
 
3
3
  ## History of version
4
+ Version 1.2605.2101: 2026/05/21<BR>
5
+ Add new TPanel
6
+ Add new properties: Enabled, Visible for TComponent
7
+ Fixed TPageControl bugs.
8
+
9
+
10
+ Version 1.2605.2001: 2026/05/20<BR>
11
+ Add new component TPageControl, TTabSheet.
12
+ Implement events onMouseKeyDown, onMouseKeyUp, onKeyDown, onKeyUp for TComponent
13
+ Fix TImage problem and add display style properties.
14
+
4
15
  Version 1.2605.1401: 2026/05/14<BR>
5
16
  Add Components:
6
17
  TDateComboBox, TTimeComboBox, TRadioButton
@@ -9,7 +20,6 @@ TMemo: Add OnChange Event
9
20
  TComponent:
10
21
  Add OnClick Event
11
22
 
12
-
13
23
  Version 1.2605.1202: 2026/05/12<BR>
14
24
  Fixed:Prevent flash exit in different os.
15
25
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "WebGUIAPI"
7
- version = "1.2605.1401"
7
+ version = "1.2605.2101"
8
8
  requires-python = ">=3.10"
9
9
  description = "WebGUIAPI Python package"
10
10
  authors = [
@@ -1,11 +1,67 @@
1
+ import types
1
2
  from _typeshed import Incomplete
2
3
  from enum import Enum
3
4
 
5
+ class TMouseButton(Enum):
6
+ mbLeft = 0
7
+ mbMiddle = 1
8
+ mbRight = 2
9
+
10
+ class TShiftState(Enum):
11
+ ssShift = 'Shift'
12
+ ssAlt = 'Alt'
13
+ ssCtrl = 'Control'
14
+ ssMeta = 'Meta'
15
+
16
+ class TMouseEventArgs:
17
+ raw: Incomplete
18
+ X: Incomplete
19
+ Y: Incomplete
20
+ Button: Incomplete
21
+ Shift: Incomplete
22
+ def __init__(self, e) -> None: ...
23
+
24
+ class TKeyEventArgs:
25
+ raw: Incomplete
26
+ Key: Incomplete
27
+ Code: Incomplete
28
+ Shift: Incomplete
29
+ def __init__(self, e) -> None: ...
30
+
31
+ class TImageDisplayStyle(Enum):
32
+ Normal = ''
33
+ FadeIn = 'fade-in'
34
+ ZoomIn = 'zoom-in'
35
+ SlideUp = 'slide-up'
36
+ Bounce = 'bounce-in'
37
+
4
38
  class TComponent:
5
39
  parent: Incomplete
6
40
  children: Incomplete
7
41
  Tag: int
42
+ onClick: Incomplete
43
+ onMouseMove: Incomplete
44
+ onMouseKeyDown: Incomplete
45
+ onMouseKeyUp: Incomplete
46
+ onKeyDown: Incomplete
47
+ onKeyUp: Incomplete
8
48
  def __init__(self, parent=None) -> None: ...
49
+ def __enter__(self): ...
50
+ def __exit__(self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: types.TracebackType | None) -> None: ...
51
+ @property
52
+ def ClassName(self): ...
53
+ @property
54
+ def Align(self): ...
55
+ @Align.setter
56
+ def Align(self, v) -> None: ...
57
+ @property
58
+ def Left(self): ...
59
+ @Left.setter
60
+ def Left(self, v) -> None: ...
61
+ @property
62
+ def Top(self): ...
63
+ @Top.setter
64
+ def Top(self, v) -> None: ...
9
65
  @property
10
66
  def FontName(self): ...
11
67
  @FontName.setter
@@ -57,6 +113,8 @@ class TForm:
57
113
  def Show(self, new_tab: bool = False) -> None: ...
58
114
  def Close(self) -> None: ...
59
115
  @property
116
+ def FormGUID(self): ...
117
+ @property
60
118
  def Caption(self): ...
61
119
  @Caption.setter
62
120
  def Caption(self, value) -> None: ...
@@ -69,7 +127,7 @@ class TForm:
69
127
  class TLabel(TComponent):
70
128
  onClick: Incomplete
71
129
  ui: Incomplete
72
- def __init__(self, parent=None, caption: str = '') -> None: ...
130
+ def __init__(self, parent=None, caption: str = '', onClick=None) -> None: ...
73
131
  @property
74
132
  def Caption(self): ...
75
133
  @Caption.setter
@@ -102,7 +160,7 @@ class TButtonShape(Enum):
102
160
  class TButton(TComponent):
103
161
  onClick: Incomplete
104
162
  ui: Incomplete
105
- def __init__(self, parent=None, caption: str = 'Button') -> None: ...
163
+ def __init__(self, parent=None, caption: str = 'Button', onClick=None) -> None: ...
106
164
  @property
107
165
  def Shape(self) -> TButtonShape: ...
108
166
  @Shape.setter
@@ -113,10 +171,10 @@ class TButton(TComponent):
113
171
  def Caption(self, value) -> None: ...
114
172
 
115
173
  class TCheckBox(TComponent):
174
+ onClick: Incomplete
116
175
  onChange: Incomplete
117
- onCLick: Incomplete
118
176
  ui: Incomplete
119
- def __init__(self, parent=None, caption: str = 'CheckBox') -> None: ...
177
+ def __init__(self, parent=None, caption: str = 'CheckBox', onClick=None, onChange=None) -> None: ...
120
178
  @property
121
179
  def Checked(self) -> bool: ...
122
180
  @Checked.setter
@@ -159,36 +217,42 @@ class TStringGrid(TComponent):
159
217
  def set_data(self, rows) -> None: ...
160
218
 
161
219
  class TPanel(TComponent):
220
+ panel_ui: Incomplete
162
221
  ui: Incomplete
163
- def __init__(self, parent=None, width=None, height=None) -> None: ...
222
+ def __init__(self, parent=None, width: int = 300, height: int = 200) -> None: ...
164
223
  @property
165
- def Width(self): ...
166
- @Width.setter
167
- def Width(self, value) -> None: ...
224
+ def DragDrop(self): ...
225
+ @DragDrop.setter
226
+ def DragDrop(self, value: bool): ...
227
+ def handle_sync_all(self, l, t, w, h) -> None: ...
168
228
  @property
169
- def Height(self): ...
170
- @Height.setter
171
- def Height(self, value) -> None: ...
229
+ def Opacity(self): ...
230
+ @Opacity.setter
231
+ def Opacity(self, value: int): ...
172
232
  @property
173
- def Color(self): ...
174
- @Color.setter
175
- def Color(self, value) -> None: ...
233
+ def ZOrder(self): ...
234
+ @ZOrder.setter
235
+ def ZOrder(self, value: int): ...
176
236
  @property
177
- def Image(self): ...
178
- @Image.setter
179
- def Image(self, src) -> None: ...
237
+ def BorderRadius(self): ...
238
+ @BorderRadius.setter
239
+ def BorderRadius(self, value: int): ...
180
240
 
181
241
  class TImage(TComponent):
182
- onClick: Incomplete
183
242
  onLoadImage: Incomplete
184
243
  onLoadImageFinish: Incomplete
244
+ onClick: Incomplete
185
245
  Align: Incomplete
186
246
  Stretch: bool
247
+ DisplayStyle: Incomplete
187
248
  wrapper: Incomplete
188
- img_obj: Incomplete
189
249
  ui: Incomplete
250
+ spinner: Incomplete
251
+ img_obj: Incomplete
252
+ child_layer: Incomplete
190
253
  def __init__(self, parent=None, src: str = '', width=None, height=None) -> None: ...
191
254
  def add_child_style(self, child) -> None: ...
255
+ def Clear(self) -> None: ...
192
256
  def LoadImage(self, src) -> None: ...
193
257
  @property
194
258
  def Width(self): ...
@@ -373,8 +437,10 @@ class TDateComboBox(TComponent):
373
437
  Tag: int
374
438
  PopupWidth: str
375
439
  PopupHeight: str
376
- icon: Incomplete
440
+ PopupCentered: bool
377
441
  ui: Incomplete
442
+ icon: Incomplete
443
+ picker_container: Incomplete
378
444
  date_picker: Incomplete
379
445
  def __init__(self, parent=None, date_str: str = '', caption: str = '') -> None: ...
380
446
  @property
@@ -389,8 +455,12 @@ class TDateComboBox(TComponent):
389
455
  class TTimeComboBox(TComponent):
390
456
  onChange: Incomplete
391
457
  Tag: int
458
+ PopupWidth: str
459
+ PopupHeight: str
460
+ PopupCentered: bool
392
461
  ui: Incomplete
393
462
  icon: Incomplete
463
+ picker_container: Incomplete
394
464
  time_picker: Incomplete
395
465
  def __init__(self, parent=None, time_str: str = '', caption: str = '') -> None: ...
396
466
  @property
@@ -401,3 +471,45 @@ class TTimeComboBox(TComponent):
401
471
  def Time(self): ...
402
472
  @Time.setter
403
473
  def Time(self, value) -> None: ...
474
+
475
+ class TTabSheet(TComponent):
476
+ TabSheet: Incomplete
477
+ ui: Incomplete
478
+ def __init__(self, parent=None, caption: str = 'TabSheet') -> None: ...
479
+ def SetIcon(self, icon_url, icon_size: int = 24) -> None: ...
480
+ def SetFont(self, name=None, size=None, color=None) -> None: ...
481
+ @property
482
+ def Caption(self): ...
483
+ @Caption.setter
484
+ def Caption(self, value) -> None: ...
485
+ @property
486
+ def Visible(self): ...
487
+ @Visible.setter
488
+ def Visible(self, value) -> None: ...
489
+
490
+ class TPageControl(TComponent):
491
+ class TabsProxy:
492
+ owner: Incomplete
493
+ def __init__(self, owner) -> None: ...
494
+ @property
495
+ def Count(self): ...
496
+ def Sheet(self, index): ...
497
+ def __getitem__(self, index): ...
498
+ ui: Incomplete
499
+ tabs_ui: Incomplete
500
+ panels_ui: Incomplete
501
+ main_container: Incomplete
502
+ onChange: Incomplete
503
+ Tabs: Incomplete
504
+ FocusColor: Incomplete
505
+ def __init__(self, parent=None) -> None: ...
506
+ ActivePageIndex: int
507
+ def NewTabSheet(self, caption: str = 'New Page'): ...
508
+ @property
509
+ def FocusColor(self): ...
510
+ @FocusColor.setter
511
+ def FocusColor(self, value) -> None: ...
512
+ @property
513
+ def ActivePageIndex(self): ...
514
+ @ActivePageIndex.setter
515
+ def ActivePageIndex(self, index) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: WebGUIAPI
3
- Version: 1.2605.1401
3
+ Version: 1.2605.2101
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,17 @@ Dynamic: license-file
37
37
  #WebGUIAPI
38
38
 
39
39
  ## History of version
40
+ Version 1.2605.2101: 2026/05/21<BR>
41
+ Add new TPanel
42
+ Add new properties: Enabled, Visible for TComponent
43
+ Fixed TPageControl bugs.
44
+
45
+
46
+ Version 1.2605.2001: 2026/05/20<BR>
47
+ Add new component TPageControl, TTabSheet.
48
+ Implement events onMouseKeyDown, onMouseKeyUp, onKeyDown, onKeyUp for TComponent
49
+ Fix TImage problem and add display style properties.
50
+
40
51
  Version 1.2605.1401: 2026/05/14<BR>
41
52
  Add Components:
42
53
  TDateComboBox, TTimeComboBox, TRadioButton
@@ -45,7 +56,6 @@ TMemo: Add OnChange Event
45
56
  TComponent:
46
57
  Add OnClick Event
47
58
 
48
-
49
59
  Version 1.2605.1202: 2026/05/12<BR>
50
60
  Fixed:Prevent flash exit in different os.
51
61
 
File without changes