Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"Odd-shaped" widgets in Tk?

3 views
Skip to first unread message

Red Barchetta

unread,
Feb 18, 1998, 3:00:00 AM2/18/98
to

I am writing an application (my first using Tk for the interface) that would
benefit greatly from having Microsoft-style "tabs", like those used in many
"Properties" dialogs, i.e. netwoerk properties, etc. I see that Tix has a
"notecard" widget that looks something like this, but I would prefer not to
have to get the whole Tix package just for this one widget. I'd be happy to
write the thing myself, but I'm not sure where to start. Any suggestions,
references, etc.?

Thanks!

Ernie Pistor

Bryan Oakley

unread,
Feb 18, 1998, 3:00:00 AM2/18/98
to Red Barchetta

One place to start would be the canvas widget. You can draw your own
tabs and embed widgets within the canvas. I've seen it done, though what
I've seen didn't look like windows. Of course, you can also try [incr
widgets], but that's a whole lot bigger than Tix.

--
Bryan Oakley mailto:oak...@healthcare.com
Senior GUI Designer http://www1.clearlight.com/~oakley/
HIE http://www.healthcare.com

Donal K. Fellows

unread,
Feb 19, 1998, 3:00:00 AM2/19/98
to

In article <6cgahm$54a$1...@pegasus.rutgers.edu>,

Red Barchetta <par...@pegasus.rutgers.edu> wrote:
> I am writing an application (my first using Tk for the interface)
> that would benefit greatly from having Microsoft-style "tabs", like
> those used in many "Properties" dialogs, i.e. netwoerk properties,
> etc.
[ ... ]
> Any suggestions, references, etc.?

Try http://r8h.cs.man.ac.uk:8000/tcl/#scripts/notebook

Donal.
--
Donal K. Fellows http://r8h.cs.man.ac.uk:8000/ fell...@cs.man.ac.uk
Department of Computer Science, University of Manchester, U.K. +44-161-275-6137
--
Never underestimate the power of the penguin...

Victor Wagner

unread,
Feb 21, 1998, 3:00:00 AM2/21/98
to

Bryan Oakley (oak...@healthcare.com) wrote:

: Red Barchetta wrote:
: >
: > I am writing an application (my first using Tk for the interface) that would
: > benefit greatly from having Microsoft-style "tabs", like those used in many
: > "Properties" dialogs, i.e. netwoerk properties, etc. I see that Tix has a

: > "notecard" widget that looks something like this, but I would prefer not to
: > have to get the whole Tix package just for this one widget. I'd be happy to
: > write the thing myself, but I'm not sure where to start. Any suggestions,
: > references, etc.?

Try to get Jeff Hobbs's widget library. It has pure Tcl implementatnion
of notebook widget, which you can cut from it and use.
It should be somewhere at

http://www.cs.uoregon.edu/research/tcl

--
--------------------------------------------------------
I have tin news and pine mail...
Victor Wagner @ home = vitus @ orc . ru

Tadeusz Liszka

unread,
Feb 22, 1998, 3:00:00 AM2/22/98
to Red Barchetta
Red Barchetta wrote:
>
> I am writing an application (my first using Tk for the interface) that would
> benefit greatly from having Microsoft-style "tabs", like those used in many
> "Properties" dialogs, i.e. netwoerk properties, etc. I see that Tix has a
> "notecard" widget that looks something like this, but I would prefer not to
> have to get the whole Tix package just for this one widget. I'd be happy to
> write the thing myself, but I'm not sure where to start. Any suggestions,
> references, etc.?
>
> Thanks!
>
> Ernie Pistor

I just happen to write something like this for my own purpose. It is
short enough so I am enclosing it with the mail. I works with tcl80p2,
both NT and SGI, but should with other versions. It may need some
polishing....

I will try to expand it to multiple line tabs.
--
+------------------------------+----------------------------+---------+
|Tadeusz J. Liszka PhD. |Computational Mechanics Co. |`.\`. |
|(512)467-0618x526;fax:467-1382| http://www.comco.com | .\ `. |
| New address: 7800 Shoal Creek #290E, Austin, TX, 78757 | . \ `.|
+------------------------------+----------------------------+---------+
|Obligatory disclaimer: |Obligatory cool quote: |
| These opinions are my own, | The public opinion should be really |
| I sometimes agree with them, | alarmed by its own nonexistence |
| no one else has to. | Stanislaw Jerzy Lec, transl. TJL |
+------------------------------+--------------------------------------+

tabs1.tcl

KATARINA ANDERSSON

unread,
Feb 27, 1998, 3:00:00 AM2/27/98
to

Hallo Everybody,

As I have been developing applications in Omnis and Oracle for the past 10
years I am now in progress of writing applications in TCL, presumably
togethet with C and CodeBase, the CodeBase part is for accessing
DBase-files.
So my question is the following:
Does not TCL require file-definitions so it can access data from DBase,
Delimited (commas), Access-files, Oracle-files etc?
I would like to know if one may find the datafile-definitions through
TCL-commands and if indexes and finding things in those datafiles are
supported with the TCL. (Any extensions out there?)

Hope you do understand my question

Regards
Daniel Sananés
+46 (0)8 653 22 85
Sweden

lvi...@cas.org

unread,
Mar 2, 1998, 3:00:00 AM3/2/98
to

Thanks so much for sharing your tabs widget.

It's great when folk share neat widgets, procs, etc. that they have
written.

One thing that happens frequently is that someone new will come along
and ask later for just this very thing. So I like to encourage folk
to either make their code available on their WWW page or at Neosoft's
free user contributed software web/ftp site. That way we can 'share
the wealth' of information from the newsgroup.

I hope everyone will consider sharing their free code in one of these
ways.
--
Larry W. Virden <URL:mailto:lvi...@cas.org> Quote: In heaven, there is no
<*> O- <URL:http://www.teraform.com/%7Elvirden/> panic, only planning.
Unless explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.

0 new messages