Re: pTk and themes - any news?
konovalo <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
>>>be available in a forthcoming Perl/Tk release more or less automatically.
>>>
>>>
>
>This is a very good news. BTW, it's been almost one year since last
>Tk804-027 was released.
>
>
>
that is one of the points - perlTk has much longer cycle of Tk
upgrading; in case of Tcl::Tk in most cases this is just *zero*: you can
try never Tk without any rebuild (when Tcl's so-called stubs turned on,
and in some other cases).
>>>Or if you're using Tcl::Tk instead of Perl/Tk, there will be available
>>>automatically.
>>>
>>>
>>Exactly right. In addition here are related Perl code example and screenshots:
>>http://www.vkonovalov.ru/cgi-bin/perl-tcltk-wiki.cgi/41
>>
>>
>>
>
>It doesn't matter, but this script falls:
>
>
How did I got those screenshots, then :) ?
Most probably you just did not get 'tile' package installed within your
Tcl/Tk.
To say, ActiveTcl version 8.4.9 contains tile. Now I tried this on my
Linux system and succeeded.
(fortunately, it was enough to just copy only 'tile' subdir to /usr/lib
from ActiveTcl build for linux; I am on mandrake 10.0 - these Tcl's
appear to be binary compatible)
>Tcl error 'invalid command name "ttk::checkbutton" at
>
>
the point is - "need_tk" functions does not fails even if package not
found. This was done on purpose, but I am not sure which final behaviour
of this function should be.
After that, "ttk::checkbutton" just not provided...
>/usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/Tcl.pm line 432.
>' while invoking array result call:
> "ttk::checkbutton .ttk::checkbutton01 -text chk1" at
>/usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/Tcl.pm line 433
> Tcl::call('Tcl::Tk=SCALAR(0x8151d04)', 'ttk::checkbutton',
>'.ttk::checkbutton01', '-text', 'chk1') called at
>/usr/lib/perl5/site_perl/5.8.5/Tcl/Tk.pm line 1374
>
>Tcl::Tk::Widget::__ANON__('Tcl::Tk::Widget::MainWindow=SCALAR(0x8160c7c)',
>'-text', 'chk1') called at /usr/lib/perl5/site_perl/5.8.5/Tcl/Tk.pm line
>1988
> Tcl::Tk::Widget::AUTOLOAD called at
>/usr/lib/perl5/site_perl/5.8.5/Tcl/Tk.pm line 2380
>
>Tcl::Tk::Widget::MainWindow::AUTOLOAD('Tcl::Tk::Widget::MainWindow=SCALAR(0x8160c7c)',
>'-text', 'chk1') called at n.pl line 14
>
>regards
>--
>Ondrej Koala Vacha
>-++**==--++**==--++**==--++**==--++**==--++**==--++**==
>This message was posted through the Stanford campus mailing list
>server. If you wish to unsubscribe from this mailing list, send the
>message body of "unsubscribe ptk" to [email protected]
>
>
>
>
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]