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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gui_creater-0.1.7.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.1.7.tar.gz
Algorithm Hash digest
SHA256 2dd382c3a7b73270dcf2debdeb89551ecd8bd7b7f5b712c23c010e65af303031
MD5 98d4ec82e15dafe943200368372cf10e
BLAKE2b-256 9ffbaff0bdfc63ede4c0840c245b1d6b20c131c945cc0b8264c18dc9518f2f78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gui_creater-0.1.7-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.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f4304f2d19c3791c9cd15ed30b8000d18ad375572decb492a34a73b05f213314
MD5 6fe49c87167c79192473f5d66d8253d1
BLAKE2b-256 97fc5366a0204fb3e4e704a020049a7d8b6989806b0d5d1912f063b8182078e3

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