Skip to main content

A simple library to make useful Gui.(By classes)

Project description

This is a package about how to create a gui easily, like this

import Gui_creater as gc
root=gc.Windows()
root.add("-Window",name=1)
root.add("-Text","2",father_name="1",placewhere=("place",{"x":0,"y":0}),args={"text":"HELLO_GUI(你好,GUI)","bg":"red"})
root.add("-Button","3",father_name="1",placewhere=("place",{"x":100,"y":0}),args={"text":"HELLO(你好)","bg":"blue","command":lambda:print("HELLO GUI!")})
root.start()

They can create a window,and there is a text ("HELLO_GUI("你好,GUI")"),a button (its text is "HELLO(你好)").If you click the button,then it can print("HELLO GUI!").You can run "test.py" to try it. If you make a new widget and you want more people use it,you can

import Gui_creater as gc
gc.Create_new_widget()

Then you can see a window , a input-area and a button with text "打开" are on it. Click the button , then choose a file.After that ,you can see texts in the area. Click the button with text "上传",it can upload you widget to server. If it report error like "服务器未工作,换个时间再试试吧",you can wait and send your widget code later.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gui_creater-0.2.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gui_creater-0.2.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file gui_creater-0.2.0.tar.gz.

File metadata

  • Download URL: gui_creater-0.2.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for gui_creater-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2f650b915c74f280c8e3e3bcb87103c62ad63ea7c02e7abe136f3718fe5c458f
MD5 5168820b32e41a1376572afcc7cc5b02
BLAKE2b-256 4b5e5a7d8b12bcfa78880d3f86fc4a267f4125e3710b22b5321d6a89eed6e911

See more details on using hashes here.

File details

Details for the file gui_creater-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gui_creater-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for gui_creater-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b6acf4f66a4e2edb57078262d0c5aeee886f684ea8518a6a9f83f3dd7ea8bfa
MD5 2310f93ca408556e29cfb08bbf7d982d
BLAKE2b-256 b9a61bb3d67a07fac37d46288fb9fb23de8012deb180f97c3121a41a5e051e83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page