Re: Custom GUI

will guaraldi <[email protected]>
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
On Wed, 21 Apr 2004, Eugene wrote:
>
> Is the tk and wxpython modules that slow? Maybe it is screen refreshing
> what is slow, and it would be enough just to optimize some small portion
> of code?

I haven't used a wxpython version.  I do know that the tkui is sluggish on
displaying text.  It's especially noticeable with slower machines.  I have
a Pentium II 266mhz laptop running Linux and the textui is _much_ faster
than the tkui.

I spent a little time working on optimizing text display for the tkui.  I
think the biggest problem is just adding text to the ScrolledText widget.
I don't really know enough about Tk and tkinter to make that routine
better without spending a lot of time on it.

The textui on Windows is pretty terrible.  At one point I wanted to build
a consoleui that'd work on Windows using the win32 stuff, but it's low on
my priority list and I haven't really looked into whether it's a good idea
or not.  Of course, it wouldn't support any graphics, so it's not what
kaishaku is looking for, methinks.

/will


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.