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.1.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.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gui_creater-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 65d98a2897c3097549e335284c8aa618df5be9b419a0b0d400d1cf16040f93fc
MD5 a1fd491518176e42a8952ce5809e5d9d
BLAKE2b-256 e83bd7604af4e68d2b8daf3b20789118e646c1586a0249a71cb6d4ff9e209074

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gui_creater-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7edc617e18d2d7b11ebee097cf55a27ae03bb1c5c9a3a5816526656cce1c7a81
MD5 ceb5f460e6ead05ab244d4664da8947b
BLAKE2b-256 fe2fdb63cacf73eabec5044faf0e0078ecb0e7b44f964d111f49eb37de138646

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