|
From: Ken T. <ken...@gm...> - 2007-01-16 03:50:58
|
Sorry if this is the wrong place, and feel free to redirect...
This is Tcl85 on win32. I am trying the quick-dirty way to switch to
Tile: Just Load It.
What I did was place Tile078 in my Tcl tree like this:
\Tcl\lib\Tile....
when I do the wish thing, all goes well, the stuff I build interactively
comes up with widgets that match the widgets in the Display control
panel as I switch XP themes.
But I am driving Tcl/Tk from Lisp (via the C API).
the window matches the current XP theme, but not the widgets. The
scrollbars are the real giveaway.
wish seemed to get into Tile without any help, but I guess I have to
give Tk a nudge. Reasonable enough. But what is the nudge? the doc says:
"If you're feeling adventurous, you can try:
namespace import ttk::*"
That does not work, and neither does the alternative, specifying
"ttk::button", eg. The error is something like "no such namespace"
Damn, I am exhausted, it just occurred to me to search the archives here
and use Google. :( Will commence that now, but any help on getting Tile
into play using just the C API (and not talking to a wish process via a
pipe) would be appreciated.
ken
|