https://pypi.org/project/toolgui/ Skip to main content Switch to mobile version Warning Some features may not work without JavaScript. Please try enabling it if you encounter problems. PyPI Search PyPI [ ] Search * Help * Sponsors * Log in * Register Menu * Help * Sponsors * Log in * Register Search PyPI [ ] Search toolgui 0.0.8 pip install toolgui Copy PIP instructions Latest version Released: Mar 26, 2022 Modular event-driven GUI system for quickly building tools with Python and pyimgui. Navigation * Project description * Release history * Download files Project links * Homepage Statistics GitHub statistics: * Stars: * Forks: * Open issues/PRs: View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery Meta Author: Justin Rempel Maintainers Avatar for rempelj from gravatar.com rempelj * Project description * Project details * Release history * Download files Project description toolgui Modular event-driven GUI system for quickly building tools with Python and pyimgui. [6874747073] Installation pip install toolgui Usage Window Create a window that can be opened from the menu bar. import imgui import toolgui @toolgui.window("Example/Hello World") def hello_example(): imgui.text("Hello!") toolgui.set_app_name("toolgui example") toolgui.start_toolgui_app() Settings Persist state across sessions. Data is saved to the toolgui.ini file. import imgui import toolgui @toolgui.settings("Number Picker") class Settings: my_number = 0 @toolgui.window("Example/Number Picker") def number_picker(): Settings.my_number = imgui.input_int("My Number", Settings.my_number, 1)[1] toolgui.set_app_name("toolgui example") toolgui.start_toolgui_app() Menu Item Call a static function from the menu bar. @toolgui.menu_item("Example/Reset") def reset(): Settings.my_number = 0 Events Event functions are executed by toolgui with these decorators. Application Start Executed when the application starts. @toolgui.on_app_start() def on_app_start(): # do_something() Application Quit Executed when the application quits. @toolgui.on_app_quit() def on_app_quit(): # do_something() Update Executed every frame. @toolgui.on_update() def on_update(): # do_something() Project details Project links * Homepage Statistics GitHub statistics: * Stars: * Forks: * Open issues/PRs: View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery Meta Author: Justin Rempel Maintainers Avatar for rempelj from gravatar.com rempelj Release history Release notifications | RSS feed This version [blue-cube] 0.0.8 Mar 26, 2022 [white-cube] 0.0.7 Mar 22, 2021 [white-cube] 0.0.6 Mar 17, 2021 [white-cube] 0.0.5 Mar 9, 2021 [white-cube] 0.0.4 Mar 9, 2021 [white-cube] 0.0.3 Mar 8, 2021 [white-cube] 0.0.2 Mar 8, 2021 [white-cube] 0.0.1 Mar 8, 2021 Download files Download the file for your platform. If you're not sure which to choose, learn more about installing packages. Source Distribution toolgui-0.0.8.tar.gz (4.2 kB view hashes) Uploaded Mar 26, 2022 source Built Distribution toolgui-0.0.8-py3-none-any.whl (4.9 kB view hashes) Uploaded Mar 26, 2022 py3 Close Hashes for toolgui-0.0.8.tar.gz Hashes for toolgui-0.0.8.tar.gz Algorithm Hash digest SHA256 ad717091a413c02497e035e8555f06ca4da450881c03c09a120ad4c657f87f9e Copy MD5 aa2f122633c4d6d552ae664c2d310aae Copy BLAKE2-256 733b3a7d94a6f9024392634416b0288665925fc770004478c394da0af59a060a Copy Close Close Hashes for toolgui-0.0.8-py3-none-any.whl Hashes for toolgui-0.0.8-py3-none-any.whl Algorithm Hash digest SHA256 2ca485de7343d30e720ddd6ef5e20397e467abffef0b2eb3f0c991b2b72090fa Copy MD5 c5192cf6fe53e2d322bd2ab5f22e4a2c Copy BLAKE2-256 cf34e3fbd303e889d2f48b3640292d8770f994303540b6a551cacfa449ec0c21 Copy Close [white-cube] Help * Installing packages * Uploading packages * User guide * FAQs About PyPI * PyPI on Twitter * Infrastructure dashboard * Package index name retention * Our sponsors Contributing to PyPI * Bugs and feedback * Contribute on GitHub * Translate PyPI * Development credits Using PyPI * Code of conduct * Report security issue * Privacy policy * Terms of use --------------------------------------------------------------------- Status: all systems operational Developed and maintained by the Python community, for the Python community. Donate today! (c) 2022 Python Software Foundation Site map Switch to desktop version * English * espanol * francais * Ri Ben Yu * portugues (Brasil) * ukrayins'ka * Ellenika * Deutsch * Zhong Wen (Jian Ti ) * Zhong Wen (Fan Ti ) * russkii * `bryt * esperanto Supported by AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page