Git Product home page Git Product logo

zbomb2000 / zenitypy Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.85 MB

(Note: At some point, I'm going to remake this project, but it will be better.) (WARNING: THIS IS A PILE OF TRASH I MADE A FEW YEARS AGO.) I combined Zentiy and Python

Home Page: https://help.gnome.org/users/zenity/stable/

License: GNU General Public License v2.0

Python 99.49% Shell 0.22% PowerShell 0.30%
python python3 linux zenity linuxshell shell ubuntu bash chromebook shellscript

zenitypy's Introduction

ZenityPy

Zenity support for Python on Linux

Modules

The only current module is the main zenity module.

  • from ZenityPy import zenity

Setup

Run the "install" file:

  • Change the directory to the main package file
  • Type chmod +x install.sh
  • Type: ./install.sh. The package should then be set up.

Functions

  • zenity.info("TEXT") This sends a message box. Replace TEXT with the message you want to send with the warning (Also used with zenity.question(), zenity.error(), and zenity.warning()).
  • zenity.password() This creates a password messege box. This returns a string.
  • zenity.color_selection() This creates a color selection messege box. This returns an rgb value.
  • zenity.file_selection() This creates a file selection messege box. This returns a file path.
  • zenity.entry("TEXT") This sends a text box the user can fill in input. Replace text with the message that you want to send with the text box.
  • zenity.notification("TEXT") This sends a notification. Replace text with the message that you want to send with the notification.
  • zenity.calendar("TEXT") This sends a calendar that the user can pick a day from. Replace text with the message that you want to send with the calendar. This returns a date (10/2/2018).
  • zenity.scale("TEXT") This sends a message box that a number from 0-100 can be chosen. Replace text with the message that you want to send with the message box. This returns and int value from 0-100.

zenitypy's People

Contributors

zbomb2000 avatar

Stargazers

 avatar

Watchers

 avatar

zenitypy's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.