Simple Settings dialog 0.3.1-p3 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Simple Settings dialog 0.3.1-p3 (Default branch)
# 1  
Old 12-13-2008
Simple Settings dialog 0.3.1-p3 (Default branch)

ImageSimple Settings Dialog (ssd) enables a scriptauthor to easily construct a simple dialog (e.g.for configuration purposes) that can be bepresented to the user during script execution. Itis build on QT4 and implements the most commonlyused widgets from QT. It is intended forsysadmins for scripting purposes. The goals arethat creation of a dialog should be done in veryfew lines, and the output from ssd (when the userhas made his/her choice) should be simple andparseable by bash. The code (or markup) for ssdcan either be stored in a separate file orembedded in the bash script, allowing one-filescripting.License: GNU General Public License (GPL)Changes:
Support for the Image option in the main window.Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unix / Linux Dialog Utility - how to open 2+ more dialog windows ?

Hi, example of Unix / Linux dialog utility is below. I am going to use dialog as simple GUI for testing of a modem. So I need to combine some dialog boxes into one. I need to have input box, output box, info box, dialog box, radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies
Login or Register to Ask a Question
Dialog(3pm)						User Contributed Perl Documentation					       Dialog(3pm)

NAME
Tk::Dialog - Create modal dialog and wait for a response. SYNOPSIS
$dialog = $parent->Dialog(-option => value, ... ); DESCRIPTION
This procedure is part of the Tk script library - its arguments describe a dialog box. After creating a dialog box, Dialog waits for the user to select one of the Buttons either by clicking on the Button with the mouse or by typing return to invoke the default Button (if any). Then it returns the text string of the selected Button. While waiting for the user to respond, Dialog sets a local grab. This prevents the user from interacting with the application in any way except to invoke the dialog box. See the Show() method. OPTIONS
The following option/value pairs are supported: -title Text to appear in the window manager's title bar for the dialog. -text Message to appear in the top portion of the Dialog. -bitmap If non-empty, specifies a bitmap to display in the top portion of the Dialog, to the left of the text. If this is an empty string then no bitmap is displayed in the Dialog. -default_button Text label string of the Button that displays the default ring. -buttons A reference to a list of Button label strings. Each string specifies text to display in a Button, in order from left to right. METHODS
$answer = $dialog->Show(?-global?); This method displays the Dialog, waits for the user's response, and stores the text string of the selected Button in $answer. If -global is specified a global (rather than local) grab is performed. The actual Dialog is shown using the Popup method. Any other options supplied to Show are passed to Popup, and can be used to position the Dialog on the screen. Please read Tk::Popup for details. ADVERTISED WIDGETS
Because Tk::Dialog is a subclass of Tk::DialogBox it inherits all the advertised subwidgets of its superclass: e.g. "B_button-text", where 'button-text' is a Button's -text value. Additionally, Tk::Dialog advertises: message The dialog's Label widget containing the message text. bitmap The dialog's Label widget containing the bitmap image. EXAMPLE
$dialog = $mw->Dialog(-text => 'Save File?', -bitmap => 'question', -title => 'Save File Dialog', -default_button => 'Yes', -buttons => [qw/Yes No Cancel/); KEYWORDS
bitmap, dialog, modal, messageBox perl v5.14.2 2010-05-29 Dialog(3pm)