I am really lost now. 
When I try my old Perl/Tk code with Labelframe I get this error:
-------------
Tcl error 'bad option "Labelframe": must be cget or configure
at 
/net/su/h/local2-rh8/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Tcl.pm 
line 548.
' while invoking scalar result call:
        ". Labelframe -text SemLex -padx 2 -pady 2"
at 
/net/su/h/local2-rh8/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Tcl.pm 
line 549
---------------
When I try Vadim's example, I get (on Fedora):
Tcl error 'invalid command name "iwidgets::labeledframe"

In windows with ActiveTcl it works, as long as there is no button in the
Labelframe. When I uncomment the following line it hangs. Why?
#$ne->Button(-text=>'qwerty')->pack;
On my Mac (with default Tcl install of MacOS X 10.4) it hangs without
any error too.

I would really like to find some documentation or more examples.
I can't figure out this Labelframe thing, balloon help (just saying 'use
Tcl::Tk::Widget::Balloon;' does not help) and ROText (or even better
equivalent of Tk::Text::Viewer).

Thanks for your help. Tcl::Tk looks in some aspects better than Perl/Tk,
but there is a problem with documentation for those of us, who don't
understand Tcl itself and need to reuse old Perl/Tk code.

Pavel



On Tue, 2006-05-16 at 23:27 -0700, Jeff Hobbs wrote: 
> Konovalov, Vadim Vladimirovich (Vadim)** CTR ** wrote:
> > But you'll better use LabelFrame from BWidgets, as it is better maintained.
> 
> Actually, you are best off with Tk 8.4's core labelframe widget, 
> although bwidgets and iwidgets have other widgets to consider.
> 
> Jef

Reply via email to