I contacted the author of Tk and received a quick reply that Tile support is scheduled for the next release but that there was no timetable for that. I searched a bit and read something where Tkx provided access to more Tk/tcl stuff and I decided to give it a try. Once I read through the tutorial and the glaze on my eyes wore off, I emailed the author. Though I received a timely response, miscommunication on my part didn't result in the answer I was hoping for.
I pressed on without the first clue what I was doing and came up with the following:
#!/usr/bin/perl use strict; use warnings; use Tkx; Tkx::package_require('tile'); Tkx::tile__setTheme('xpnative'); my $mw = Tkx::widget->new("."); $mw->new_ttk__button( -text => 'Hello, world', -command => sub { $mw->g_destroy; }, )->g_pack; Tkx::MainLoop();
Yay! It works and looks good on Win32. Unfortunately, it seems like almost none of the knowledge I gained while learning Tk is transferrable to Tkx.
Does anyone have any hints on making Tk on Win32 both easy and pretty? I plan on learning other cross-platform frameworks such as Wx in the future so suggesting them here is not useful (to me).
Cheers - L~R
In reply to How do you make Tk look good? by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |