pyvguicom 1.1.2__tar.gz → 1.2.0__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.

Potentially problematic release.


This version of pyvguicom might be problematic. Click here for more details.

Files changed (49) hide show
  1. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/PKG-INFO +1 -1
  2. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pggui.py +1 -1
  3. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgtests.py +11 -0
  4. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testtests.py +18 -0
  5. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom.egg-info/PKG-INFO +1 -1
  6. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/README.md +0 -0
  7. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/__init__.py +0 -0
  8. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/browsewin.py +0 -0
  9. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/custwidg.py +0 -0
  10. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/__index__.py +0 -0
  11. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/browsewin.html +0 -0
  12. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/htmledit.html +0 -0
  13. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgbox.html +0 -0
  14. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgbutt.html +0 -0
  15. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgentry.html +0 -0
  16. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pggui.html +0 -0
  17. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgsel.html +0 -0
  18. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgsimp.html +0 -0
  19. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgtextview.html +0 -0
  20. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgutils.html +0 -0
  21. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgwkit.html +0 -0
  22. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/sutil.html +0 -0
  23. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/htmledit.py +0 -0
  24. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgbox.py +0 -0
  25. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgbutt.py +0 -0
  26. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgentry.py +0 -0
  27. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgsel.py +0 -0
  28. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgsimp.py +0 -0
  29. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgtextview.py +0 -0
  30. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgutils.py +0 -0
  31. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgwkit.py +0 -0
  32. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/plug.py +0 -0
  33. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testbutt.py +0 -0
  34. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testcust.py +0 -0
  35. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testentry.py +0 -0
  36. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testgui.py +0 -0
  37. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testicons.py +0 -0
  38. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testlettsel.py +0 -0
  39. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testmsgs.py +0 -0
  40. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testnums.py +0 -0
  41. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testroot.py +0 -0
  42. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testsimple.py +0 -0
  43. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testtextv.py +0 -0
  44. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testutils.py +0 -0
  45. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom.egg-info/SOURCES.txt +0 -0
  46. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom.egg-info/dependency_links.txt +0 -0
  47. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom.egg-info/top_level.txt +0 -0
  48. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/setup.cfg +0 -0
  49. {pyvguicom-1.1.2 → pyvguicom-1.2.0}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyvguicom
3
- Version: 1.1.2
3
+ Version: 1.2.0
4
4
  Summary: High power secure server GUI utility helpers.
5
5
  Home-page: https://github.com/pglen/pyguicom.git
6
6
  Author: Peter Glen
@@ -24,7 +24,7 @@ import pgsimp
24
24
 
25
25
  IDXERR = "Index is larger than the available number of controls."
26
26
 
27
- VERSION = "1.1.2"
27
+ VERSION = "1.2.0"
28
28
 
29
29
  gui_testmode = 0
30
30
 
@@ -90,6 +90,17 @@ def randstr(lenx):
90
90
 
91
91
  return strx
92
92
 
93
+ def randstrrand(lenmin, lenmax):
94
+
95
+ lenx = random.randint(lenmin, lenmax)
96
+ strx = ""
97
+ for aa in range(lenx):
98
+ ridx = random.randint(0, len(allstr)-1)
99
+ rr = allstr[ridx]
100
+ strx += str(rr)
101
+
102
+ return strx
103
+
93
104
  def randasc(lenx):
94
105
 
95
106
  strx = ""
@@ -16,6 +16,16 @@ from gi.repository import PangoCairo
16
16
 
17
17
  import pgtests
18
18
 
19
+ def test_randstr(arg2, arg3):
20
+ rrr = pgtests.randstr(12)
21
+ print(rrr)
22
+ arg3.set_text(rrr)
23
+
24
+ def test_randstrrand(arg2, arg3):
25
+ rrr = pgtests.randstrrand(6, 18)
26
+ print(rrr)
27
+ arg3.set_text(rrr)
28
+
19
29
  def test_rand(arg2, arg3):
20
30
  rrr = pgtests.randascii(12)
21
31
  print(rrr)
@@ -49,6 +59,14 @@ if __name__ == "__main__":
49
59
  hbox.pack_start(lab1, 1, 1, 0)
50
60
  vbox.pack_start(hbox, 1, 1, 0)
51
61
 
62
+ butt = Gtk.Button.new_with_mnemonic("Test Rand Str")
63
+ butt.connect("clicked", test_randstr, lab1)
64
+ vbox.pack_start(butt, 0, 0, 2)
65
+
66
+ butt = Gtk.Button.new_with_mnemonic("Test Rand Rand")
67
+ butt.connect("clicked", test_randstrrand, lab1)
68
+ vbox.pack_start(butt, 0, 0, 2)
69
+
52
70
  butt = Gtk.Button.new_with_mnemonic("Test Rand")
53
71
  butt.connect("clicked", test_rand, lab1)
54
72
  vbox.pack_start(butt, 0, 0, 2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyvguicom
3
- Version: 1.1.2
3
+ Version: 1.2.0
4
4
  Summary: High power secure server GUI utility helpers.
5
5
  Home-page: https://github.com/pglen/pyguicom.git
6
6
  Author: Peter Glen
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes