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.
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/PKG-INFO +1 -1
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pggui.py +1 -1
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgtests.py +11 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testtests.py +18 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom.egg-info/PKG-INFO +1 -1
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/README.md +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/__init__.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/browsewin.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/custwidg.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/__index__.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/browsewin.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/htmledit.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgbox.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgbutt.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgentry.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pggui.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgsel.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgsimp.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgtextview.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgutils.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/pgwkit.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/docs/sutil.html +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/htmledit.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgbox.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgbutt.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgentry.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgsel.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgsimp.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgtextview.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgutils.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/pgwkit.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/plug.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testbutt.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testcust.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testentry.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testgui.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testicons.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testlettsel.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testmsgs.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testnums.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testroot.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testsimple.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testtextv.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom/testutils.py +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom.egg-info/SOURCES.txt +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom.egg-info/dependency_links.txt +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/pyvguicom.egg-info/top_level.txt +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/setup.cfg +0 -0
- {pyvguicom-1.1.2 → pyvguicom-1.2.0}/setup.py +0 -0
|
@@ -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)
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|