Code Comments
Programming Forum and web based access to our favorite programming groups.Can someone with experience with the Tile Widget set (version 0.4) give me some pointers on accessing the new combobox and entry widgets? See my earlier post below for details on my troubles. Thanks, Jeff "Jeff Godfrey" <jeff_godfrey@pobox.com> wrote in message news:10ii8elksc7laf3@corp.supernews.com... : "Joe English" <jenglish@flightlab.com> wrote in message : news:pgpmoose.200408191744.32380@despot.non.net... : : [19 Aug 2004] : : : : ANNOUNCE: Tile Widget Set, version 0.4. : : : : + New widgets: entry and combobox. : : Hi Joe, : : I just took my first look at Tile, and I must say it looks great - nice : work (for all those working on this extension)! : : I do have a question though - I notice that version 0.4 is supposed to have : new entry and combobox widgets (as noted in the above announcement) - though : I haven't figured out how to referece either of them. There doesn't appear : to be a t<widget> command like the other standard widgets. Scanning the : available "t*" and "tile::*" commands didn't turn up anything either. : : Is this just a case of the documentation being a bit ahead of development, : or have I missed something? : : Thanks for any advice. : : Jeff : :
Post Follow-up to this message"Jeff Godfrey" <jeff_godfrey@pobox.com> wrote > Can someone with experience with the Tile Widget set (version 0.4) > give me some pointers on accessing the new combobox and entry > widgets? See my earlier post below for details on my troubles. I get this, after just extracting tile04.zip into my Tcl lib directory: % package require tile 0.4 % info command tcomb* tcombobox % info command tent* tentry % Bob -- Bob Techentin techentin.robert@NOSPAMmayo.edu Mayo Foundation (507) 538-5495 200 First St. SW FAX (507) 284-9171 Rochester MN, 55901 USA http://www.mayo.edu/sppdg/
Post Follow-up to this message"Bob Techentin" <techentin.robert@mayo.edu> wrote in message news:cgg5on$tie$1@tribune.mayo.edu... : "Jeff Godfrey" <jeff_godfrey@pobox.com> wrote : > Can someone with experience with the Tile Widget set (version 0.4) : > give me some pointers on accessing the new combobox and entry : > widgets? See my earlier post below for details on my troubles. : : I get this, after just extracting tile04.zip into my Tcl lib : directory: : : % package require tile : 0.4 : % info command tcomb* : tcombobox : % info command tent* : tentry : % Bob, Thanks for the reply. I can only assume that you are running on some *nix box and the issue must be related to the Windows build. I am running WinXP pro, and those particular commands don't appear to be in the 0.4 dll I downloaded, as can be seen below: package require tile 0.4 % info command tcomb* % info command tent* % Any thoughts? Thanks, Jeff
Post Follow-up to this message"Jeff Godfrey" <jeff_godfrey@pobox.com> wrote > > "Bob Techentin" <techentin.robert@mayo.edu> wrote > : I get this, after just extracting tile04.zip into my Tcl lib > : directory: ... > > I can only assume that you are running on some *nix box ... Um, no. Windows XP Professional with Service Pack 1. I've got TclDevKit 3.1 installed in C:\apps\Tcl, and I just extracted tile04.zip into C:\apps\Tcl\lib, and it works. I'm ping in tile's pkgIndex.tcl file, and I see that it won't do anything with Tcl < 8.4. Are you up to date? Bob -- Bob Techentin techentin.robert@NOSPAMmayo.edu Mayo Foundation (507) 538-5495 200 First St. SW FAX (507) 284-9171 Rochester MN, 55901 USA http://www.mayo.edu/sppdg/
Post Follow-up to this message"Bob Techentin" <techentin.robert@mayo.edu> wrote in message news:<cgi384$cvq$1@tribune.may o.edu>... > "Jeff Godfrey" <jeff_godfrey@pobox.com> wrote > ... > > Um, no. Windows XP Professional with Service Pack 1. I've got > TclDevKit 3.1 installed in C:\apps\Tcl, and I just extracted > tile04.zip into C:\apps\Tcl\lib, and it works. I'm ping in tile's > pkgIndex.tcl file, and I see that it won't do anything with Tcl < 8.4. > Are you up to date? > > Bob I am using XP Pro and have Tcl 8.5a1 installed and get the same thing with tile package 0.4. No entry or combobox: % package require tile 0.4 % info command tcom* % info command ten* % info command ::tile::* ::tile::label ::tile::menubutton ::tile::labelframe ::tile::frame ::tile::radiobutton ::tile::button ::tile::progress ::tile::takefocus ::tile::ThemeChanged ::tile::LoadImages ::tile::notebook ::tile::activate ::tile::Repeat ::tile::checkbutton ::tile::scrollbar ::tile::Repeatedly ::tile::CancelRepeat % puts $tcl_patchLevel 8.5a1 Anthony
Post Follow-up to this message"Jeff Godfrey" <jeff_godfrey@pobox.com> wrote > Well, I was running ActiveTcl 8.4.5. When I did a "package require tile", I > seemed to get everything *except* the "tentry" and "tcombobox" commands. I > have since upgraded to ActiveTcl 8.4.7 and the entire package is now > available (using the save tile library). > > Apparently, the "tile" package is included in the ActiveTcl distro (I didn't > realize), because after upgrading, the pkgIndex.tcl file is now different. Hmmmm. Vewwwwwy intewesting. My symin upgraded my Windows Tcl installation while I was off on vacation, but I'm pretty sure it just wrote ActiveTcl 8.4.6 on top of, ummmm, whatever was there before. Might have been 8.4.4. Then I unzipped tile04.zip without looking first. I might have overwritten something that was already there. But now I see tile0.3 and tile0.4 directories in my Tcl/lib directory. I'm honestly not sure what Tcl or ActiveTcl or Tile dependencies are at work. Bob -- Bob Techentin techentin.robert@NOSPAMmayo.edu Mayo Foundation (507) 538-5495 200 First St. SW FAX (507) 284-9171 Rochester MN, 55901 USA http://www.mayo.edu/sppdg/
Post Follow-up to this messageApologies for this. We had a version numbering mixup. Joe has only recently created a release of tile 0.4 but the cvs version has been this way for quite a while. Sometime ago I was asked for an updated build and produced an interim build - so until last wthe tile04.zip file had an out-of-date version as was really 0.3++ -- Pat Thoyts http://www.zsplat.freeserve.co.uk/resume.html To reply, rot13 the return address or read the X-Address header. PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD
Post Follow-up to this message----- Original Message ----- From: "Pat Thoyts" <cng@mfcyng.serrfreir.pb.hx> Newsgroups: comp.lang.tcl Sent: Wednesday, August 25, 2004 6:22 PM Subject: Re: Tile Widget Set - combobox and entry? > > Apologies for this. We had a version numbering mixup. Joe has only > recently created a release of tile 0.4 but the cvs version has been > this way for quite a while. Sometime ago I was asked for an updated > build and produced an interim build - so until last wthe > tile04.zip file had an out-of-date version as was really 0.3++ Pat, Thanks for the clarification. As I said in an earlier post, my missing tcombobox and tentry widgets became available once I upgraded to ActiveTcl 8.4.7 - but.... After that upgrade, it seems that the "xpnative" theme was no longer recognized (it was prior to the upgrade). I don't know if there was actually something wrong in the ActiveTCL package, or if something went wrong during the installation (I overlayed 8.4.7 on top of 8.4.5). So, after seeing your above message, I downloaded the latest "tile 0.4" build from SF, and used it to replace the existing tile installation. Now, I have the missing widgets *and* the "xpnative" style. Thanks, Jeff
Post Follow-up to this messageJeff Godfrey wrote: > So, after seeing your above message, I downloaded the latest "tile 0.4" > build from SF, and used it to replace the existing tile installation. Now , > I have the missing widgets *and* the "xpnative" style. The xpnative style will be available in the ActiveTcl tile build starting with the next version. I had to make some fixes to the source code to allow the xpnative style to build properly when you compile on a non-XP machine (we build ActiveTcl on a Win2K box). -- Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos
Post Follow-up to this message"Jeff Hobbs" <jeffh@removethis.activestate.com> wrote in message news:412D576D.9050803@removethis.activestate.com... : Jeff Godfrey wrote: : > So, after seeing your above message, I downloaded the latest "tile 0.4" : > build from SF, and used it to replace the existing tile installation. Now, : > I have the missing widgets *and* the "xpnative" style. : : The xpnative style will be available in the ActiveTcl tile build : starting with the next version. I had to make some fixes to the : source code to allow the xpnative style to build properly when : you compile on a non-XP machine (we build ActiveTcl on a Win2K : box). Thanks Jeff. That seems to be the final piece to the puzzle. Jeff
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.