For Programmers: Free Programming Magazines  


Home > Archive > Tcl > December 2007 > The tk demo (was Re: Tk in comparison to other portable toolkits)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author The tk demo (was Re: Tk in comparison to other portable toolkits)
Bryan Oakley

2007-12-19, 7:16 pm

Larry W. Virden wrote:
> ...
> perhaps it would be helpful if some of the talented community members
> would add demos to the main tk demo program that demonstrated how to
> get more contemporary looking programs making use of the option
> database, etc. Having a big of flash in terms of demos would not only
> be useful in the "advertising", but could provide new developers with
> some tk "best practices" to improve the look of their applications.


I don't think we need more demos as much as I think the demo program
itself needs a little polish.

I have ideas and some code, but as usual I'm struggling to find the time
to make it a reality. For a brief time I was making a valiant effort to
get it done for 8.5, but it's just too late to do that (at least, I hope
8.5 is imminent!)

Since I've let the cat out of the bag, here' are some screenshots:

http://www.purl.org/net/oakley/goobe/index.html

I was inspired by hackityhack (http://hacketyhack.net/), a tool for
learning Ruby. The idea is to create a single starting point for
learning a little bit about the language -- a way to see demos, try some
interactive experimentation, maybe work through a tutorial. And, to show
how nice Tk can look.

I'm hoping to find some time over the holidays to work on this a little
bit more, but I don't know if I will. I may be having to look for a new
job by then :-(

--
Bryan Oakley
http://www.tclscripting.com
spam@controlq.com

2007-12-19, 7:16 pm

On Wed, 19 Dec 2007, Bryan Oakley wrote:
>
> I don't think we need more demos as much as I think the demo program itself
> needs a little polish.
>
> I have ideas and some code, but as usual I'm struggling to find the time to
> make it a reality. For a brief time I was making a valiant effort to get it
> done for 8.5, but it's just too late to do that (at least, I hope 8.5 is
> imminent!)
>
> Since I've let the cat out of the bag, here' are some screenshots:
>
> http://www.purl.org/net/oakley/goobe/index.html
>
> I was inspired by hackityhack (http://hacketyhack.net/), a tool for learning
> Ruby. The idea is to create a single starting point for learning a little bit
> about the language -- a way to see demos, try some interactive
> experimentation, maybe work through a tutorial. And, to show how nice Tk can
> look.
>
> I'm hoping to find some time over the holidays to work on this a little bit
> more, but I don't know if I will. I may be having to look for a new job by
> then :-(


Bryan,

A very impressive layout ... rounded corners, drop shadows, transparent
images, and a very clean look/feel ... hmmmm ... I'd steal that in a
heartbeat if I knew how you'd done it 8-).

BTW: what is going on in goobe3.jpg? you have a hor/vert scroll, rounded
(canvas? text?), and a greyed out portion on the left (listbox??) what
*IS* that???

Cheers,
Rob Sciuk
---- Posted via Pronews.com - Premium Corporate Usenet News Provider ----
http://www.pronews.com offers corporate packages that have access to 100,000+ newsgroups
Bryan Oakley

2007-12-19, 7:16 pm

spam@controlq.com wrote:
> BTW: what is going on in goobe3.jpg? you have a hor/vert scroll, rounded
> (canvas? text?), and a greyed out portion on the left (listbox??) what
> *IS* that???


The rounded thing is just a ttk::frame customized with the technique
described at http://wiki.tcl.tk/20152.

The gray part on the left is a canvas, and is used for displaying line
numbers. Immediately to the right is a console widget in the spirit of
tkcon but lighter weight and therefore without as many bells and
whistles. It's a little megawidget I tinker with from time to time.

I think I need to make the gray lighter. Or, better yet, somehow ask the
theme for the right color, but I have no idea what question to ask. I'm
not sure if themes have the notion of "a slightly different background
color I can use for secondary information". Like most everyone else, I'm
still learning how best to take advantage of tile.

Oh, and thanks for the other kind words.

--
Bryan Oakley
http://www.tclscripting.com
Donal K. Fellows

2007-12-19, 7:16 pm

Bryan Oakley wrote:
> I don't think we need more demos as much as I think the demo program
> itself needs a little polish.


To be quite frank, both are needed. Though it's polish that's needed
more at the moment, since I've done a new set of demos for 8.5 (mostly
covering Ttk, but also some other things too). There has been *some*
polishing applied to the overall demo framework (the demos themselves
should not be too polished; they've got to be simple and readable too)
but a lot more is needed.

Donal.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com