in reply to Perl Tk Canvas and buckets of items

What exactly are you making, some kind of spreadsheet something-or-other? How big does each cell have to be? Having multiple canvases ought to help the "seek time" (for lack of a better term). Frames and buttons will definetly add more overhead. The best solution would be to find a better toolkit, and/or a widget better than canvas.

update: crazy tk xbm tingy may be a little relevant.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re: Perl Tk Canvas and buckets of items

Replies are listed 'Best First'.
Re: Re: Perl Tk Canvas and buckets of items
by herveus (Prior) on Aug 22, 2003 at 14:37 UTC
    Howdy!

    Thanks for the pointer to crazyinsomniac's xbm thingy. I don't yet know if it will help my particular case, but...

    The thing I am making is a Tablet Weaving design tool that shows a visual representation of the outcome that you can edit on the fly. It has something of the spreadsheet character. Each cell will be on the order of eight to ten pixels wide at minimum by anywhere from one to six or more times that height. I'm inclined toward the multiple canvas trick. I can easily pack() them making geometry management relatively simple.

    Given the very graphic nature of the beast, Canvas seems to be an obvious choice. I'm not sure which widget would be "better". I'm kind of fixated on Tk for now, or at least I want to provide that option.

    yours,
    Michael