GithubHelp home page GithubHelp logo

dialog-fu's Introduction

Dialog-fu

Version 0.2.1, 2014-07-07

Description

This library provides a high-level API for simple user interfaces with kdialog (forthcoming: dialog/zenity/yad/cocoadialog)

Sometimes, being usable matters. In addition to providing the world’s most intricate command suite and option parsing for expert users, it might be nice to just give a little interface. Not so much that you have to restructure your whole program around some GUI framework, but if you need a filename or a little text entry box or a confirmation box, the "dialog"-like programs can make the job a lot easier.

This is intended to make it easy for you, as a programmer, to make your programs easier to use. Everyone wins, right?

Further documentation can be generated with by running 'rake'

Requirements

Ruby 2.0 or newer

One of:

  • kdialog

In the future, other variations of the 'dialog' program will be supported.

Installation

gem install dialog-fu

Use

require 'dialog-fu'

Dialog.autosetup  # Figure out what implementation to use

Dialog.messagebox("Hello, world")

License

Copyright © 2011-14 Chris Riddoch

See lgpl-3.0.txt for license details

dialog-fu's People

Contributors

riddochc avatar

Watchers

 avatar  avatar

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.