pyvguicom


Namepyvguicom JSON
Version 1.3.3 PyPI version JSON
download
home_pagehttps://github.com/pglen/pyguicom.git
SummaryHigh power secure server GUI utility helpers.
upload_time2024-08-04 06:00:53
maintainerNone
docs_urlNone
authorPeter Glen
requires_python>=3
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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; ...)

Peter Glen

// EOF

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pglen/pyguicom.git",
    "name": "pyvguicom",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": null,
    "keywords": null,
    "author": "Peter Glen",
    "author_email": "peterglen99@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f8/19/a724d0442dd3d21492d374869cf0338fb54693d178e9aaa265c51672b6f2/pyvguicom-1.3.3.tar.gz",
    "platform": null,
    "description": "# pyvguicom  PyV GUI Common utilities\n\n## Common GUI routines and classes\n\n These classes are for python PyGobject (Gtk) development. They are used in\nseveral projects. They act as a simplification front end for the PyGtk / PyGobject\nclasses.\n\nA sampler of what is in there (pasted from code, in no particular order):\n\n    class CairoHelper():\n    class TextTable(Gtk.Table):\n    class TextRow(Gtk.HBox):\n    class RadioGroup(Gtk.Frame):\n    class Led(Gtk.DrawingArea):\n    class SeparatorMenuItem(Gtk.SeparatorMenuItem):\n    class Menu():\n    class MenuButt(Gtk.DrawingArea):\n    class Lights(Gtk.Frame):\n    class WideButt(Gtk.Button):\n    class ScrollListBox(Gtk.Frame):\n    class FrameTextView(Gtk.TextView):\n    class Label(Gtk.Label):\n    class Logo(Gtk.VBox):\n    class xSpacer(Gtk.HBox):\n    class ListBox(Gtk.TreeView):\n\n    ... and a lot more ...\n\n## Also includes Some Python / Gtk primitives:\n\n    def get_screen_wh():\n    def get_screen_xy():\n    def print_exception(xstr):\n    def message(strx, parent = None, title = None, icon = Gtk.MessageType.INFO):\n    def usleep(msec):\n    def tmpname(indir, template):\n    def mainloop():\n    def time_n2s(ttt):\n    def time_s2n(sss):\n    def yes_no_cancel(title, message, cancel = True, parent = None):\n    def yn_key(win, event, cancel):\n    def opendialog(parent=None):\n    def savedialog(resp):\n    def leadspace(strx):\n\n     ... and a lot more ...\n\n## Example:\n\nThe Label Button (SmallButt) takes a constructor, and feeds\n the arguments with defaults as one would expect.\n\n     def __init__(self, textm=\"\", widget=None, tooltip=None, font=None):\n\nThe simplification effect allows one to create a Label Button with no arguments,\nand still have a somewhat reasonable outcome. The label example is trivial,\nthe simplification takes a new dimension with classes like SimpleTree.\n\nThe defaults are set to a reasonable value, and the named argument(s) can be\nset on one line. This makes the code look more compact and maintainable.\n\n## Tests:\n\n The test utilities can  confirm correct operation; however being a visual\nset of classes, the real test is seeing the generated UI.\nThe test utilities can also be found in the project install directory,\nstarting with the text* prefix.\n\n See descendent projects for more examples. (pyedpro; pycal; pyvserv; ...)\n\nPeter Glen\n\n// EOF\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "High power secure server GUI utility helpers.",
    "version": "1.3.3",
    "project_urls": {
        "Homepage": "https://github.com/pglen/pyguicom.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f4b0bf3f20027600a120f2c1a1621164a7d6c3c2484218bd1ff2c7a3e056728",
                "md5": "d51e24bdb9eb7d089c58879a8961143e",
                "sha256": "20398715337e7c72e303c4069f7e5504fe7fc385a884e3464687d2141a7accf0"
            },
            "downloads": -1,
            "filename": "pyvguicom-1.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d51e24bdb9eb7d089c58879a8961143e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 204025,
            "upload_time": "2024-08-04T06:00:51",
            "upload_time_iso_8601": "2024-08-04T06:00:51.039575Z",
            "url": "https://files.pythonhosted.org/packages/1f/4b/0bf3f20027600a120f2c1a1621164a7d6c3c2484218bd1ff2c7a3e056728/pyvguicom-1.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f819a724d0442dd3d21492d374869cf0338fb54693d178e9aaa265c51672b6f2",
                "md5": "c46039dbc1a5f301fb7a1a52f0c33328",
                "sha256": "6b7f04f07a93f4c7a03dbfc9d8613e26136ef833a74fce0496ebbe82818419ae"
            },
            "downloads": -1,
            "filename": "pyvguicom-1.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c46039dbc1a5f301fb7a1a52f0c33328",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 184760,
            "upload_time": "2024-08-04T06:00:53",
            "upload_time_iso_8601": "2024-08-04T06:00:53.817023Z",
            "url": "https://files.pythonhosted.org/packages/f8/19/a724d0442dd3d21492d374869cf0338fb54693d178e9aaa265c51672b6f2/pyvguicom-1.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-04 06:00:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pglen",
    "github_project": "pyguicom",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyvguicom"
}
        
Elapsed time: 0.30385s