Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to control remotely "full" Linux router in GUI ? Post 302304864 by jack2 on Tuesday 7th of April 2009 12:50:05 PM
Old 04-07-2009
Quote:
Originally Posted by Corona688
If you showed more work in your part and described the problem and situation better it would be a lot easier to help you. Not everyone knows what Dialog is, I suppose its a text-based GUI? And I did not know you meant an embedded router or I wouldn't have suggested X11, sorry about that.

Right now you're giving us a blanket "it's broken, fix it", example programs displaying the problem would be really useful. Much moreso than quoting small parts of excised library code in the hope some keen eye here will spot something wrong in it despite the total lack of context.
My dear friend,

please read the subject line
How to control remotely "full" Unix Linux router in GUI ?

If you are interested in dialog widgets I can send more examples.
The issue is, how to make full text-based GUI interface of the existing
widget boxes (like in old good MS DOS) or to start writing my own
full box interface, based on examples coming with already compiled widget boxes.

As my previous reply is lost, just let me know what I should write now
and thanks for your interest in dialog utility, already 15 years old project.

Jack
 

We Also Found This Discussion For You

1. SuSE

Linux the most "GUI" - pls. help

Hi All; Well here's another stupid question. But i tired to make it relevant. I'm looking to install a flavour of UNIX. I think Linux is the most "GUI" of all the flavours. Please verify me if I am correct/incorrect and if so, please state the "most GUI" flavour of UNIX. Cheers. (1 Reply)
Discussion started by: radith
1 Replies
Dialog(3)						User Contributed Perl Documentation						 Dialog(3)

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.16.3 2014-06-10 Dialog(3)
All times are GMT -4. The time now is 06:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy