Skip to main content

A simple package to create your own GUI.

To get started and create your own GUI, simply write:

from customGUI.form_creator import FormCreator

fc = FormCreator('save.txt')

fc.run()

To add a new icon select the name of the icon from the taskbar on the left. Once selected, the item will appear on the Form (unless the chosen item is a Form). Then any of the icon settings can be modified, including appearance and behaviour. To modify a setting, a correct value must be input. In case a value is incorrect, a message will appear at the bottom with instructions on how to input a correct value. Always press Enter to save a new value, otherwise it won't be remembered.

Each icon must have a unique name, which will be used when using the form later in your application.

To save the Form to be able to use it later, press CTRL+S. It will be saved to the file path specified when creating an object of the FormCreator class (eg.: 'save.txt').

In order to load the form from the save file and use it as a standalone window, the following needs to be written:

from customGUI.form_loader import FormLoader

fl = FormLoader('save.txt')

fl.load()

while True:
    fl.update()

You can access items from the Form by calling fl.objects['name of an item']. This will return the corresponding item (or rather an object of the same class with all parameters copied). You can then modify all parameters as you wish. For example if the object is of the Textbox class, you can change the text parameter, by calling fl.objects['name of the Textbox'].text.

Other possibilities of this library shall be explained in the non-existent-so-far Documentation.

Metadata

Release files for customGUI 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for customGUI 1.0.7
File Size Uploaded
customGUI-1.0.7.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for customGUI 1.0.7
File Interpreter ABI Platform
customGUI-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 29.6 kB

Release files / customGUI-1.0.7.tar.gz

Download URL customGUI-1.0.7.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e6a70411dfc49edc052b8287f318546e4416a8c3f51fbfb73b0c5e4f285b7e28
BLAKE2b-256 checksum
How to use checksums
3ed29bc97b4f88d5e5fc1d662108ec41055c36f566374b09fdd6261a2726c222
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

Release files / customGUI-1.0.7-py3-none-any.whl

Download URL customGUI-1.0.7-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a215828882478c5316358dafdb288c020a37423fa2041e4504beb78b60f6d6c2
BLAKE2b-256 checksum
How to use checksums
5c2b31a2295969f037f49f7e477a3a23bc9df2d6447f2cb469234e0a46d70977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

1 release file

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page