Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use Tk to create a simple messagebox in RobCAD application?

Status
Not open for further replies.

jitsubh07

Programmer
Feb 10, 2009
3
0
0
DE
HI All...

I'm trying to create a simple messagebox using Tk in robcad application..But I'm not being able to understand the way to write it.....Any help will be highly appreciated......

Regards,
Subhrajit
 
I'm not familiar with "robcad". Will you use "plain old" Tcl/Tk syntax? If so, a "message box" can be a simple top level that has some buttons and some text (see the Tk demos). Alternatively, there is a dialog, "tk_messageBox". Is that what you want? If so it is pretty simple and also pretty limited:
man tk_messageBox said:
NAME
tk_messageBox - pops up a message window and waits for user response.
SYNOPSIS
tk_messageBox ?option value ...?
DESCRIPTION
-default name
-icon iconImage
-message string
-parent window
-title titleString
-type predefinedType
abortretryignore
ok
okcancel
retrycancel
yesno
yesnocancel

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top