WebGUIAPI 1.2605.1401__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.1401
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,12 @@ 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
+
40
46
  Version 1.2605.1401: 2026/05/14<BR>
41
47
  Add Components:
42
48
  TDateComboBox, TTimeComboBox, TRadioButton
@@ -1,6 +1,12 @@
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
+
4
10
  Version 1.2605.1401: 2026/05/14<BR>
5
11
  Add Components:
6
12
  TDateComboBox, TTimeComboBox, TRadioButton
@@ -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.2001"
8
8
  requires-python = ">=3.10"
9
9
  description = "WebGUIAPI Python package"
10
10
  authors = [
@@ -1,12 +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
7
40
  Tag: int
41
+ onClick: Incomplete
42
+ onMouseMove: Incomplete
43
+ onMouseKeyDown: Incomplete
44
+ onMouseKeyUp: Incomplete
45
+ onKeyDown: Incomplete
46
+ onKeyUp: Incomplete
8
47
  def __init__(self, parent=None) -> None: ...
9
48
  @property
49
+ def ClassName(self): ...
50
+ @property
10
51
  def FontName(self): ...
11
52
  @FontName.setter
12
53
  def FontName(self, v) -> None: ...
@@ -57,6 +98,8 @@ class TForm:
57
98
  def Show(self, new_tab: bool = False) -> None: ...
58
99
  def Close(self) -> None: ...
59
100
  @property
101
+ def FormGUID(self): ...
102
+ @property
60
103
  def Caption(self): ...
61
104
  @Caption.setter
62
105
  def Caption(self, value) -> None: ...
@@ -100,7 +143,6 @@ class TButtonShape(Enum):
100
143
  Circle = 'Circle'
101
144
 
102
145
  class TButton(TComponent):
103
- onClick: Incomplete
104
146
  ui: Incomplete
105
147
  def __init__(self, parent=None, caption: str = 'Button') -> None: ...
106
148
  @property
@@ -179,16 +221,20 @@ class TPanel(TComponent):
179
221
  def Image(self, src) -> None: ...
180
222
 
181
223
  class TImage(TComponent):
182
- onClick: Incomplete
183
224
  onLoadImage: Incomplete
184
225
  onLoadImageFinish: Incomplete
226
+ onClick: Incomplete
185
227
  Align: Incomplete
186
228
  Stretch: bool
229
+ DisplayStyle: Incomplete
187
230
  wrapper: Incomplete
188
- img_obj: Incomplete
189
231
  ui: Incomplete
232
+ spinner: Incomplete
233
+ img_obj: Incomplete
234
+ child_layer: Incomplete
190
235
  def __init__(self, parent=None, src: str = '', width=None, height=None) -> None: ...
191
236
  def add_child_style(self, child) -> None: ...
237
+ def Clear(self) -> None: ...
192
238
  def LoadImage(self, src) -> None: ...
193
239
  @property
194
240
  def Width(self): ...
@@ -373,8 +419,10 @@ class TDateComboBox(TComponent):
373
419
  Tag: int
374
420
  PopupWidth: str
375
421
  PopupHeight: str
376
- icon: Incomplete
422
+ PopupCentered: bool
377
423
  ui: Incomplete
424
+ icon: Incomplete
425
+ picker_container: Incomplete
378
426
  date_picker: Incomplete
379
427
  def __init__(self, parent=None, date_str: str = '', caption: str = '') -> None: ...
380
428
  @property
@@ -389,8 +437,12 @@ class TDateComboBox(TComponent):
389
437
  class TTimeComboBox(TComponent):
390
438
  onChange: Incomplete
391
439
  Tag: int
440
+ PopupWidth: str
441
+ PopupHeight: str
442
+ PopupCentered: bool
392
443
  ui: Incomplete
393
444
  icon: Incomplete
445
+ picker_container: Incomplete
394
446
  time_picker: Incomplete
395
447
  def __init__(self, parent=None, time_str: str = '', caption: str = '') -> None: ...
396
448
  @property
@@ -401,3 +453,45 @@ class TTimeComboBox(TComponent):
401
453
  def Time(self): ...
402
454
  @Time.setter
403
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.1401
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,12 @@ 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
+
40
46
  Version 1.2605.1401: 2026/05/14<BR>
41
47
  Add Components:
42
48
  TDateComboBox, TTimeComboBox, TRadioButton
File without changes