- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating dialog box in HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 02:54 PM
02-20-2006 02:54 PM
May I know what is the simplest way to create a dialog box with an [ok] button for u to click to close it (common in window base program) in HPUX?
Thanks!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 03:52 PM
02-20-2006 03:52 PM
SolutionThe answer entirely depends on, where u want the buttons/widget to be displayed. In HPUX u could come across 3 scenarios..
1) Command prompt: This can be widely termed as TUI(terminal user interface) environment. For you creation you need TCL toolkit that could be downloaded from the following link...
http://hpux.connect.org.uk/hppd/hpux/Tcl/tcltk-8.4.11/
2) GUI: You have 2 options ..
a) Ximian gnome,
You will have to install the GTK+ graphics libraries and gnome from you Application CD that accompanies you core OS CD/DVD for 11i.
for more details.. refer..
http://docs.hp.com/en/GNOME/
b) CDE
Not very intuitive though, I havent tried what you are attempting to in CDE,.. I hope the following link could be some help...
http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/ProgrammersGuide/programmersguide_3.html
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 05:18 PM
02-20-2006 05:18 PM
Re: Creating dialog box in HPUX
In addition to the tcl option above, there's a nice little utility simply called dialog. Another TUI solution, it's available from http://hpux.connect.org.uk/hppd/hpux/Shells/dialog-0.9b/
or from http://invisible-island.net/dialog/ if you prefer to compile the source yoursef. dialog provides a simple way of creating a range of dialog-boxes from simple yes/no questions to more complex radio buttons, picklists, and scrollable text viewers.
There used to be a similar but simpler Motif program under HP-UX 10.20 called xdialog, but I'm not sure whether it still exists under 11.0 and later. "man xdialog" will give details if it still exists.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 05:28 PM
02-20-2006 05:28 PM
Re: Creating dialog box in HPUX
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 07:08 PM
02-20-2006 07:08 PM
Re: Creating dialog box in HPUX
check this link, there are some GUI examples:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=984784
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 07:54 PM
02-23-2006 07:54 PM
Re: Creating dialog box in HPUX
You can also use Tcl/Tk script to create the dialog box.
naren