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

0.7.8 ttk::treeview missing -xscrollcommand option?

16 views
Skip to first unread message

Jeff Godfrey

unread,
Jun 21, 2007, 4:38:49 PM6/21/07
to
Running tile 0.7.8 under WinXP Pro SP2, the [treeview] widget seems to
be missing the "-xscrollcommand" argument. According to the docs, it
supports both horizontal and vertical scrolling, using the standard
options. But...

% package require tile
0.7.8
(bin) 2 % ttk::treeview .t
.t
(bin) 3 % .t cget -yscrollcommand
(bin) 4 % .t cget -xscrollcommand
unknown option "-xscrollcommand"
(bin) 5 % lsort [.t configure]
{-class {} {} {} {}} {-columns columns Columns {} {}} {-cursor cursor
Cursor {} {}} {-displaycolumns displayColumns DisplayColumns {} {}}
{-height height Height 10 10} {-padding padding Pad 4 4} {-selectmode
selectMode SelectMode extended extended} {-show show Show {tree
headings} {tree headings}} {-style style Style {} {}} {-takefocus
takeFocus TakeFocus tile::takefocus tile::takefocus} {-takefocus
takeFocus TakeFocus {} tile::takefocus} {-yscrollcommand
yScrollCommand ScrollCommand {} {}}
(bin) 6 %

Jeff


Aric Bills

unread,
Jun 21, 2007, 5:11:04 PM6/21/07
to

For what it's worth, this appears to be fixed in version 0.8.0
(included in the latest ActiveState distro).

Aric

Jeff Godfrey

unread,
Jun 21, 2007, 5:27:04 PM6/21/07
to
> For what it's worth, this appears to be fixed in version 0.8.0
> (included in the latest ActiveState distro).


Hi Aric,

Thanks for the info. What distro is that exactly? I have both the
latest "official" ActiveTcl distro (8.4.14) and the latest 8.5 distro.
Neither seem to contain Tile 0.8.0. Also, looking on sourceforge, it
looks like 0.7.8 is still the latest available. Any additional
details would be great.

Thanks,

Jeff


Message has been deleted

Jeff Godfrey

unread,
Jun 21, 2007, 6:35:11 PM6/21/07
to
"Aric Bills" <aric....@gmail.com> wrote in message
news:1182463937.4...@m37g2000prh.googlegroups.com...

> I've got 8.4.14 and 8.5a6 installed side by side. From each wish
> console:
> (bin) 1 % set tcl_version
> 8.5
> (bin) 3 % package require ActiveTcl
> 8.5.0.0.278673
> (bin) 4 % package require tile
> 0.8.0

Aric,

Sorry, you're right. I do have 0.8.0 as part of 8.5a6.

Thank you.

Jeff


Joe English

unread,
Jun 22, 2007, 12:50:37 AM6/22/07
to
Jeff Godfrey wrote:

>Running tile 0.7.8 under WinXP Pro SP2, the [treeview] widget seems to
>be missing the "-xscrollcommand" argument. According to the docs, it
>supports both horizontal and vertical scrolling, using the standard
>options. But...

The manpages on the website correspond to CVS HEAD
(where this is fixed); -xscrollcommand wasn't implemented
as of 0.7.8.

I should also add that the ttk::treeview tries very hard
to avoid the need for horizontal scrolling in the first place.
This works a lot better than it used to (again, in CVS,
but not in the latest release).


--Joe English

Jeff Godfrey

unread,
Jun 22, 2007, 9:26:50 AM6/22/07
to

"Joe English" <jeng...@flightlab.com> wrote in message
news:f5fke...@news3.newsguy.com...

> Jeff Godfrey wrote:
>
>>Running tile 0.7.8 under WinXP Pro SP2, the [treeview] widget seems
>>to
>>be missing the "-xscrollcommand" argument. ...

>
> The manpages on the website correspond to CVS HEAD
> (where this is fixed); -xscrollcommand wasn't implemented
> as of 0.7.8.
>
> I should also add that the ttk::treeview tries very hard
> to avoid the need for horizontal scrolling in the first place.
> This works a lot better than it used to (again, in CVS,
> but not in the latest release).

Thanks Joe.

Jeff


Jeff Godfrey

unread,
Jun 22, 2007, 10:51:50 AM6/22/07
to

"Jeff Godfrey" <jeff_g...@pobox.com> wrote in message
news:z2Dei.2074$iz5...@newsread4.news.pas.earthlink.net...

> Aric,
>
> Sorry, you're right. I do have 0.8.0 as part of 8.5a6.

As a side note...

How / where is Tile 0.8.0 packaged with ActiveTcl 8.5a6? My 8.5
installation does indeed find the 0.8.0 version via the [package
require] command, but I can't find it myself... 8-(

I've search the auto_path folders, but haven't turned up anything
obvious. In fact, I did a system-wide search for "tile*.dll" which
returned only 0.7.8 and earlier versions. So, where *is* the
installed library? Is it in some teapot repository?

Thanks,

Jeff


Jeff Hobbs

unread,
Jun 22, 2007, 1:49:00 PM6/22/07
to Jeff Godfrey
Jeff Godfrey wrote:
> "Jeff Godfrey" <jeff_g...@pobox.com> wrote in message
> news:z2Dei.2074$iz5...@newsread4.news.pas.earthlink.net...
>> Sorry, you're right. I do have 0.8.0 as part of 8.5a6.
>
> As a side note...
>
> How / where is Tile 0.8.0 packaged with ActiveTcl 8.5a6? My 8.5
> installation does indeed find the 0.8.0 version via the [package
> require] command, but I can't find it myself... 8-(

"tile 0.8.0" == Ttk implemented in 8.5a6. There is no separate set of
sources for it.

Jeff

Jeff Godfrey

unread,
Jun 22, 2007, 2:14:56 PM6/22/07
to

"Jeff Hobbs" <je...@activestate.com> wrote in message
news:467C0B8C...@activestate.com...


Ahhh, of course - I should have known that.... Does 0.8.0 happen to be
available as a separate package anywhere? I'd like to access it via
8.4.14, since it contains things I'd like to have in an app that can't
(yet) be pushed to 8.5...

Thanks,

Jeff


0 new messages