Sponsored Content
Top Forums Programming text boxes, radio buttons , check boxes in c++ on unix Post 3523 by devy8 on Wednesday 4th of July 2001 12:56:45 PM
Old 07-04-2001
Hi again..on checkboxes...

Thanks for the quick reply...

XMOTIF etc works on X-windows.. i wanted it across telnet sessions.. Pls lemme know how do i that ...

Devyani.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

users logging on to unix boxes

I have been asked to write a unix script to log and report all users logging on to our unix boxes as either the root or oracle users only on a 24 hour basis. This should trap the logon and logoff time,if possible what they are doing and their username. Thanks in Advance (2 Replies)
Discussion started by: irehman
2 Replies

2. UNIX for Dummies Questions & Answers

quering unix boxes for attaced printers

Greetings All, I was wanting some info seeing i am a ms geek looking to go into UNIX if i want to query a UNIX box for info regarding printers, LPDs and such source how would i go about this !!!! All comments that would point me in the right direction would be most useful. Cheers (1 Reply)
Discussion started by: seekerO
1 Replies

3. UNIX for Dummies Questions & Answers

What can I ignore when backing up UNIX boxes?

Hi All, Long question and possibly a very short answer.... At work we've just got a new 3rd party backup solution (Netvault by Bakbone -it's v. nice), and I'm currently setting up my UNIX clients as part of the backup schedule. It's just occurred to me that there may be certain files or... (4 Replies)
Discussion started by: geralex
4 Replies

4. Shell Programming and Scripting

Compare files across 2 UNIX boxes

Is it possible to compare two files which reside on different UNIX boxes? (I'm using HP POSIX/Korn) :confused: Consider the scenario of a pre-production environment (box 1) and a production environment (box 2) I would like to check if some files on both boxes match or not. It's quite... (2 Replies)
Discussion started by: flattyre
2 Replies

5. UNIX for Advanced & Expert Users

How to direct-connect two UNIX boxes

Hello, I have a V880 and a 420 running Solaris 9. Each box has more than one NIC card. I'd like to know how to configure the network on the two boxes so that I can directly connect the NIC cards. Meaning, I don't want a switch or router between the two. I just want to run a CAT5 cable to each... (3 Replies)
Discussion started by: agcodba
3 Replies

6. UNIX for Dummies Questions & Answers

Help! Suggestions on what I can I use my 2 unix boxes for?

Once upon a looong time ago I used to work with Unix systems - SGI mainly. Now I've inherited 2 boxes - an SGI dual processor Octane and an Indigo2. For the past 2 years they've sat waiting for me to do something with them and never getting round to it. I run a windows network at home so... (3 Replies)
Discussion started by: JimmyChang
3 Replies

7. UNIX for Dummies Questions & Answers

Dowe have other tools like Putty to connect UNIX boxes

New to UNIX, do we have only putty to work with UNIX boxes remotely ?????? any other tools.. (1 Reply)
Discussion started by: nivaspIND
1 Replies

8. Solaris

how to config sudo in unix boxes

Hi How to configure sudo in all unix boxes. plz provide the step by step process. Regards Praveen (3 Replies)
Discussion started by: tv.praveenkumar
3 Replies

9. Shell Programming and Scripting

monitoring various things (mainly activity) on different unix boxes

Hi there, I want to ask you guys what you think about my problem. I work as a sysadmin on about 7000 workstations or so and to save money and energy, we've decided to switch off as many workstations as possible during the night (probably by shutting it down by cron and power it on by... (8 Replies)
Discussion started by: albator1932
8 Replies

10. Web Development

How to get input text boxes populated / perl cgi?

Hi, I know how to populate a combo box or a drop down list box which I do as under : Query that gets the data for the drop down box : $qry = "select \"EmployeeID\" AS empid, \"FirstName\"::text || ' ' ||\"LastName\"::text as name from \"Employees\""; $qq =... (1 Reply)
Discussion started by: terrykhatri531
1 Replies
Prima::MsgBox(3)					User Contributed Perl Documentation					  Prima::MsgBox(3)

NAME
Prima::MsgBox - standard message and input dialog boxes DESCRIPTION
The module contains two methods, "message_box" and "input_box", that invoke correspondingly the standard message and one line text input dialog boxes. SYNOPSIS
use Prima; use Prima::Application; use Prima::MsgBox; my $text = Prima::MsgBox::input_box( 'Sample input box', 'Enter text:', ''); $text = '(none)' unless defined $text; Prima::MsgBox::message( "You have entered: '$text'", mb::Ok); API
input_box TITLE, LABEL, INPUT_STRING, [ BUTTONS = mb::OkCancel, %PROFILES ] Invokes standard dialog box, that contains an input line, a text label, and buttons used for ending dialog session. The dialog box uses TITLE string to display as the window title, LABEL text to draw next to the input line, and INPUT_STRING, which is the text present in the input box. Depending on the value of BUTTONS integer parameter, which can be a combination of the button "mb::XXX" constants, different combinations of push buttons can be displayed in the dialog. PROFILE parameter is a hash, that contains customization parameters for the buttons and the input line. To access input line "inputLine" hash key is used. See "Buttons and profiles" for more information on BUTTONS and PROFILES. Returns different results depending on the caller context. In array context, returns two values: the result of "Prima::Dialog::execute", which is either "mb::Cancel" or one of "mb::XXX" constants of the dialog buttons; and the text entered. The input text is not restored to its original value if the dialog was cancelled. In scalar context returns the text entered, if the dialog was ended with "mb::OK" or "mb::Yes" result, or "undef" otherwise. message TEXT, [ OPTIONS = mb::Ok | mb::Error, %PROFILES ] Same as "message_box" call, with application name passed as the title string. message_box TITLE, TEXT, [ OPTIONS = mb::Ok | mb::Error, %PROFILES ] Invokes standard dialog box, that contains a text label, a predefined icon, and buttons used for ending dialog session. The dialog box uses TITLE string to display as the window title, TEXT to display as a main message. Value of OPTIONS integer parameter is combined from two different sets of "mb::XXX" constants. The first set is the buttons constants, - "mb::OK", "mb::Yes" etc. See "Buttons and profiles" for the explanations. The second set consists of the following message type constants: mb::Error mb::Warning mb::Information mb::Question While there can be several constants of the first set, only one constant from the second set can be selected. Depending on the message type constant, one of the predefined icons is displayed and one of the system sounds is played; if no message type constant is selected, no icon is displayed and no sound is emitted. In case if no sound is desired, a special constant "mb::NoSound" can be used. PROFILE parameter is a hash, that contains customization parameters for the buttons. See "Buttons and profiles" for the explanations. Returns the result of "Prima::Dialog::execute", which is either "mb::Cancel" or one of "mb::XXX" constants of the specified dialog buttons. Buttons and profiles The message and input boxes provide several predefined buttons that correspond to the following "mb::XXX" constants: mb::OK mb::Cancel mb::Yes mb::No mb::Abort mb::Retry mb::Ignore mb::Help To provide more flexibility, PROFILES hash parameter can be used. In this hash, predefined keys can be used to tell the dialog methods about certain customizations: defButton INTEGER Selects the default button in the dialog, i.e. the button that reacts on the return key. Its value must be equal to the "mb::" constant of the desired button. If this option is not set, the leftmost button is selected as the default. helpTopic TOPIC Used to select the help TOPIC, invoked in the help viewer window if "mb::Help" button is pressed by the user. If this option is not set, Prima is displayed. inputLine HASH Only for "input_box". Contains a profile hash, passed to the input line as creation parameters. buttons HASH To modify a button, an integer key with the corresponding "mb::XXX" constant can be set with the hash reference under "buttons" key. The hash is a profile, passed to the button as creation parameters. For example, to change the text and behavior of a button, the following construct can be used: Prima::MsgBox::message( 'Hello', mb::OkCancel, buttons => { mb::Ok, { text => '~Hello', onClick => sub { Prima::message('Hello indeed!'); } } } ); If it is not desired that the dialog must be closed when the user presses a button, its "::modalResult" property ( see Prima::Buttons ) must be reset to 0. owner WINDOW If set, the dialog owner is set to WINDOW, otherwise to $::main_window. Necessary to maintain window stack order under some window managers, to disallow windows to be brought over the message box. AUTHOR
Dmitry Karasik, <dmitry@karasik.eu.org>. SEE ALSO
Prima, Prima::Buttons, Prima::InputLine, Prima::Dialog. perl v5.14.2 2009-02-24 Prima::MsgBox(3)
All times are GMT -4. The time now is 02:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy