From: Zhang Weiwu on
Hello. I am a developer who occasionally work out some tcl/tk projects
with cross-platform deployment in mind. In a recent project there is a
need for simple ready-run-off (or "portable") desktop application that I
intend to do with tcl/tk. The user interface logic is really simple, so
does the underlying database, but a high level of nice-looking is
needed, as it is part of the VI strategy. I want to apply my tcl/tk
skill but had the impression that most of the tk have application in
mind but less flexible on the look.

Although this topic had been discussed many a time, but most of the
discussion seems focusing on how to make tcl/tk generally appears good
(widget work), or to make it work with the same look and feel as its
windowing system. example of such discussion are here:

http://wiki.tcl.tk/8646 [What applications written in Tcl/Tk look really
good?]

http://wiki.tcl.tk/8646 [Tk widgets look fine under Windows]

They are not what I look for. I intend to know if I can customize it for
a particular VI requirement on only one application. My goal is a user
interface as different to its windowing system (be it X, Mac OS or
Windows) as this one:

http://johnbokma.com/mexit/2007/01/05/nero-startsmart-burn-image-to-disc.png

How do you think? As I am planning, do you think this is a huge work, or
very simple?
From: Donald Arseneau on
On Mar 4, 6:11 pm, Zhang Weiwu <zhangweiwu+J...(a)realss.com> wrote:
> They are not what I look for. I intend to know if I can customize it for
> a particular VI requirement on only one application. My goal is a user
> interface as different to its windowing system (be it X, Mac OS or
> Windows) as this one:
>
> http://johnbokma.com/mexit/2007/01/05/nero-startsmart-burn-image-to-d...
>
> How do you think? As I am planning, do you think this is a huge work, or
> very simple?

In a word: canvas.

The best way to make a "weird" UI is with images, placed on a canvas,
and
using bindings. Traditional widgets can also be used on the canvas
whenever
necessary.

From: Gerald W. Lester on
Zhang Weiwu wrote:
> Hello. I am a developer who occasionally work out some tcl/tk projects
> with cross-platform deployment in mind. In a recent project there is a
> need for simple ready-run-off (or "portable") desktop application that I
> intend to do with tcl/tk. The user interface logic is really simple, so
> does the underlying database, but a high level of nice-looking is
> needed, as it is part of the VI strategy. I want to apply my tcl/tk
> skill but had the impression that most of the tk have application in
> mind but less flexible on the look.
>
> Although this topic had been discussed many a time, but most of the
> discussion seems focusing on how to make tcl/tk generally appears good
> (widget work), or to make it work with the same look and feel as its
> windowing system. example of such discussion are here:
>
> http://wiki.tcl.tk/8646 [What applications written in Tcl/Tk look really
> good?]
>
> http://wiki.tcl.tk/8646 [Tk widgets look fine under Windows]
>
> They are not what I look for. I intend to know if I can customize it for
> a particular VI requirement on only one application. My goal is a user
> interface as different to its windowing system (be it X, Mac OS or
> Windows) as this one:
>
> http://johnbokma.com/mexit/2007/01/05/nero-startsmart-burn-image-to-disc.png
>
> How do you think? As I am planning, do you think this is a huge work, or
> very simple?

First off, use ttk widgets where possible instead of classic tk widgets.

Second off, I strongly recommend using the grid geometry manager.

Thirdly, try to specify as few options as possible.

Following those three rules will get you a nice looking interface on all of
the platforms.

--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
From: oc_forums on
Hi Zhang !

Maybe you can try the TkTrans extension, but it is not
sure it is compatible with 8.4 and 8.5, see
at http://tcltk.co.kr/node/77

At the bottom there is two examples that should correspond to your
need.

I think his author (Farzad Pezeshkpour) is the same as for the optcl
package, but most
of the links are dead, but with a little luck...

Regards, Olivier


From: George Petasis on
στις 5/3/2010 6:58 πμ, O/H Donald Arseneau έγραψε:
> On Mar 4, 6:11 pm, Zhang Weiwu<zhangweiwu+J...(a)realss.com> wrote:
>> They are not what I look for. I intend to know if I can customize it for
>> a particular VI requirement on only one application. My goal is a user
>> interface as different to its windowing system (be it X, Mac OS or
>> Windows) as this one:
>>
>> http://johnbokma.com/mexit/2007/01/05/nero-startsmart-burn-image-to-d...
>>
>> How do you think? As I am planning, do you think this is a huge work, or
>> very simple?
>
> In a word: canvas.
>
> The best way to make a "weird" UI is with images, placed on a canvas,
> and
> using bindings. Traditional widgets can also be used on the canvas
> whenever
> necessary.
>

I also think that canvas is the way to go, but it will not be an easy
process. I also wanted to create something along the lines of avast
antivirus, but I still haven't tried it:

http://tricks-collections.com/free-antivirus-avast-5-final-version-released-and-available-for-download/

George