Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: How do you make Tk look good?

by samtregar (Abbot)
on Jul 15, 2008 at 22:51 UTC ( #697819=note: print w/replies, xml ) Need Help??

in reply to How do you make Tk look good?

If you like how Tile looks but can't deal with the TCLishness of Tkx, why not add support for it to the Tk module? Shouldn't be too hard, I'd imagine, although I haven't looked at how Tile works.

If you want a better answer you'll need to be more specific about what you're looking for. I also happen to think Tk looks like crap but I be our definitions of "pretty" aren't the same.


Replies are listed 'Best First'.
Re^2: How do you make Tk look good?
by Joost (Canon) on Jul 15, 2008 at 23:06 UTC
    I may be completely wrong, but AFAIK, the Tk module is more or less independent from the main tcl/tk development effort. Which makes things more difficult to port than they maybe should be.

    There's also Tcl::Tk, which - like Tkx - uses Tcl to interface with the Tk GUI. Which also supports Tiles, and also suffers from more or less the same incompatibilities as Tkx.

Re^2: How do you make Tk look good?
by Limbic~Region (Chancellor) on Jul 15, 2008 at 23:46 UTC
    When I emailed the author of Tk, I asked if there was ANY way to get Tile support. I would have thought if it wasn't too hard to add the support, I would have been given a pointer and heard "patches welcome". I think it is beyond my capabilities.

    Cheers - L~R

      Unless you're a serious XS/C hacker, you'll likely get lost amid the low level stuff in Tk.

      As joost mentioned, you might try Tcl::Tk. vkon claims its pretty compatible, but I haven't tried it yet, due to a memo1 I got circa 2006.

      1. "If it doesn't run in a browser it don't mean sh*t.". You might check your email archives to see if you got the memo too.

      Perl Contrarian & SQL fanboy
      So, what did he say? If he just didn't respond I don't think you can draw any conclusions about how hard it is. (UPDATE: whoops, I see now that you had this in your original post!)

      I don't see how you can give up on something you obviously want quite badly without even trying... You might learn something even if you're ultimately not successful. Since the author is already planning to integrate Tile in the future you could ask him how he plans to do it.


        I don't see how you can give up on something you obviously want quite badly without even trying...

        Heh. I spent as much time trying to figure out how to make Tile work with Tk as I did learning Tk. I would love to spend more time and I don't want to give up, but I also need to be a realist. I just returned from a two week vacation where I had dozens of helping hands to take care of our two daughters (visited family in Maine). While I am confident that I could eventually get something working, I need to finish the project I am working on. It is a gift for one of those family members that helped give me the time to learn Tk in the first place.

        If this sounds like a cop out, please see Breaking The Rules II. That project sat unfinished for more than a year before I found time to get back to it - and even then, I didn't finish it. I just don't have the luxury of fully immersing myself in new things any more, but I don't lose sight of what I want to learn. Eventually, I get to it.

        Cheers - L~R

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://697819]
and the voices are still...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2018-05-27 14:41 GMT
Find Nodes?
    Voting Booth?