pyvguicom PyV GUI Common utilities
Common GUI routines and classes
These classes are for python PyGobject (Gtk) development. They are used in several projects. They act as a simplification front end for the PyGtk / PyGobject classes.
A sampler of what is in there (pasted from code, in no particular order):
class CairoHelper():
class TextTable(Gtk.Table):
class TextRow(Gtk.HBox):
class RadioGroup(Gtk.Frame):
class Led(Gtk.DrawingArea):
class SeparatorMenuItem(Gtk.SeparatorMenuItem):
class Menu():
class MenuButt(Gtk.DrawingArea):
class Lights(Gtk.Frame):
class WideButt(Gtk.Button):
class ScrollListBox(Gtk.Frame):
class FrameTextView(Gtk.TextView):
class Label(Gtk.Label):
class Logo(Gtk.VBox):
class xSpacer(Gtk.HBox):
class ListBox(Gtk.TreeView):
... and a lot more ...
Also includes Some Python / Gtk primitives:
def get_screen_wh():
def get_screen_xy():
def print_exception(xstr):
def message(strx, parent = None, title = None, icon = Gtk.MessageType.INFO):
def usleep(msec):
def tmpname(indir, template):
def mainloop():
def time_n2s(ttt):
def time_s2n(sss):
def yes_no_cancel(title, message, cancel = True, parent = None):
def yn_key(win, event, cancel):
def opendialog(parent=None):
def savedialog(resp):
def leadspace(strx):
... and a lot more ...
Example:
The Label Button (SmallButt) takes a constructor, and feeds the arguments with defaults as one would expect.
def __init__(self, textm="", widget=None, tooltip=None, font=None):
The simplification effect allows one to create a Label Button with no arguments, and still have a somewhat reasonable outcome. The label example is trivial, the simplification takes a new dimension with classes like SimpleTree.
The defaults are set to a reasonable value, and the named argument(s) can be set on one line. This makes the code look more compact and maintainable.
Tests:
The test utilities can confirm correct operation; however being a visual set of classes, the real test is seeing the generated UI. The test utilities can also be found in the project install directory, starting with the text* prefix.
See descendent projects for more examples. (pyedpro; pycal; pyvserv; ...)
History:
Sun 28.Dec.2025 -- Corrected icon size warning
Wed 10.Dec.2025 -- Added docs, demos, more pip features
Sat 08.Nov.2025 -- Simplified pyutils
Tue 11.Nov.2025 -- No default frame for radio buttons
Peter Glen
// EOF
Metadata
Release files for pyvguicom 1.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyvguicom-1.4.4.tar.gz | 227.1 kB | Without provenance | Details for pyvguicom-1.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyvguicom-1.4.4-py3-none-any.whl | Python 3 | none | any | Details for pyvguicom-1.4.4-py3-none-any.whl |
Total release size: 479.6 kB
Release files / pyvguicom-1.4.4.tar.gz
| Download URL | pyvguicom-1.4.4.tar.gz |
|---|---|
| Size | 227.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f5aef58fb6e02c6b9a5666a4a4a1c9aba7661ae40c75a675816c4e04e79d7de
|
|
BLAKE2b-256 checksum How to use checksums |
9bf525f9d00c3b49158deb886b47b3a65fdeffa0efc9c2dc1ca2d202336cf347
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / pyvguicom-1.4.4-py3-none-any.whl
| Download URL | pyvguicom-1.4.4-py3-none-any.whl |
|---|---|
| Size | 252.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfe5ef766392f9fea20c23dcf72249e607c40d0e361d0600d28a67c19de0b4e7
|
|
BLAKE2b-256 checksum How to use checksums |
4ea14eab7dd69088a149c960b65c269c89f23c8b9370da9fdf0db7fc5f3e6fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for pyvguicom 1.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.