<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to iwidget-patches</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/</link><description>Recent changes to iwidget-patches</description><atom:link href="https://sourceforge.net/p/incrtcl/iwidget-patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 24 Jul 2012 15:14:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/incrtcl/iwidget-patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>fix bug with scrolledtext searching</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Make scrolledtext search method work with patterns containing spaces.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim  Wallace</dc:creator><pubDate>Tue, 24 Jul 2012 15:14:15 -0000</pubDate><guid>https://sourceforge.net4d91b4f8eb21635f73e84b33d8c486a841720dc0</guid></item><item><title>using ttk scrollbars in iwidgets</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The included patch replaces iwidgets scrollbars with the newer ttk:: scrollbars.  Code simplified and behavior is improved (scrollbars now seamlessly integrate with windows using non iwidgets (i.e., ttk) scrollbars.&lt;/p&gt;
&lt;p&gt;If the patch is accepted, credit goes to Cliff Yapp and Bob Parker.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;br /&gt;
Sean&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sean Morrison</dc:creator><pubDate>Wed, 23 Mar 2011 23:15:15 -0000</pubDate><guid>https://sourceforge.net23ea531ef0b2893919cc35e735bd08655953f1f9</guid></item><item><title>patch for datefield with 8.5</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch fixes datefield with -iq high to be compatible with tcl8.5. &lt;/p&gt;
&lt;p&gt;Problem:&lt;br /&gt;
Turns out that clock scan never returns an error in 8.5 but will just give you returns for the next month.  Very bad in my opinion.&lt;/p&gt;
&lt;p&gt;The Fix:&lt;br /&gt;
Replace the _lastDay portion of datefield.itk with the following which checks to see if the month has changed if the clock scan returns ok.&lt;/p&gt;
&lt;p&gt;# ------------------------------------------------------------------&lt;br /&gt;
itcl::body iwidgets::Datefield::_lastDay {month year} {&lt;br /&gt;
# Patched to work with Tcl 8.5&lt;br /&gt;
set lastone 28&lt;/p&gt;
&lt;p&gt;for {set lastone 28} {$lastone &amp;lt; 32} {incr lastone} {&lt;br /&gt;
set nextone [expr $lastone + 1]&lt;br /&gt;
if {[catch {clock scan $month/$nextone/$year} newdate] != 0} {&lt;br /&gt;
return $lastone&lt;br /&gt;
} else {&lt;br /&gt;
set datestring [clock format $newdate -format "%m/%d/%Y"]&lt;br /&gt;
set splist [split $datestring "/"]&lt;br /&gt;
if { [lindex $splist 0] != $month } {&lt;br /&gt;
return $lastone&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Mark Alston&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Alston</dc:creator><pubDate>Sat, 20 Sep 2008 03:24:03 -0000</pubDate><guid>https://sourceforge.net889c5cf21379d9f1afa916ba2354a96077a0f160</guid></item><item><title>Multiple tiers for tabset/tabnotebook</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;these are modified versions of tabset.itk and tabnotebook.itk (diff-files attached) which implement a multiple tier feature. It is used in the tabnotebook via the new "-tiers" option:&lt;br /&gt;
# OPTION -tiers&lt;br /&gt;
#&lt;br /&gt;
# Specifies the maximum number of tiers for the tabs.&lt;br /&gt;
# If set to 0, then there will be only 1 tier, without any expansion (default).&lt;br /&gt;
# If set to &amp;gt; 0, the highest tier number will have all its tabs adjusted&lt;/p&gt;
&lt;p&gt;# so they occupy all the space of this tier.&lt;br /&gt;
# If set to &amp;lt; 0, the highest tier number will not have its tabs adjusted - really for experimentation only&lt;/p&gt;
&lt;p&gt;Same as "feature request" #643765.&lt;/p&gt;
&lt;p&gt;Please note that the attached patches also deal with tickets #620806 and #514222&lt;/p&gt;
&lt;p&gt;AND: INTENDED PRIMARILY FOR DEMO-PURPOSES, i.e. using multiple tiers is a bad idea  - see &lt;a href="http://homepage.mac.com/bradster/iarchitect/tabs.htm" rel="nofollow"&gt;http://homepage.mac.com/bradster/iarchitect/tabs.htm&lt;/a&gt;&lt;br /&gt;
(On that page, Laura Arlov is quoted from her book "GUI Design for Dummies": "One row of tabs is enough. Again: One row is enough. And once more: One row is enough.")&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Erik Allaert</dc:creator><pubDate>Wed, 28 Mar 2007 11:49:14 -0000</pubDate><guid>https://sourceforge.net344be5b8c16e228efd4e48f4b4c864fa6f1921bb</guid></item><item><title>Iwidgets configure/install patch</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The iwidgets4.0.1 package has a configure system that&lt;br /&gt;
dates back to when itcl and itk were in the same&lt;br /&gt;
directory. It doesn't work with 3.3RC and apparently&lt;br /&gt;
not 3.2 either.&lt;/p&gt;
&lt;p&gt;The following patch was tried with the 3.3RC&lt;br /&gt;
distributions. The key changes are:&lt;/p&gt;
&lt;p&gt;1. Look for itcl/itk in the parent directory of&lt;br /&gt;
iwidgets (ie they should be siblings). --with-itcl /&lt;br /&gt;
--with-itk overrides this.&lt;/p&gt;
&lt;p&gt;2. Use AC_PROG_INSTALL and include an install-sh script.&lt;/p&gt;
&lt;p&gt;3. Replaced MKINSTALLDIRS with mkdir -p. This seems to&lt;br /&gt;
be what itcl3.3 uses now so it's hopefully no less&lt;br /&gt;
portable than that is.&lt;/p&gt;
&lt;p&gt;I haven't tried this on cygwin so I've no idea if the&lt;br /&gt;
cygpath stuff still works or not.&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Bonfield</dc:creator><pubDate>Fri, 08 Jul 2005 10:25:24 -0000</pubDate><guid>https://sourceforge.net468afcbfe73a1508631c27ff1e41ea952368de23</guid></item><item><title>DateField, Dateentry with DD/MM/YYYY</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have added a DD/MM/YYYY &amp;amp;quot;Aussie&amp;amp;quot; mode to the&lt;br /&gt;
dateentry and datefield widgets. To use it create the&lt;br /&gt;
widgets with the option:&lt;/p&gt;
&lt;p&gt;-int au&lt;/p&gt;
&lt;p&gt;(AU is for australia. -int 1 will use YYYY-MM-DD mode,&lt;br /&gt;
and -int 0 will use MM/DD/YYYY.)&lt;/p&gt;
&lt;p&gt;Attached is the file datefield.itk&lt;br /&gt;
Place it in your IWidgets script directory.&lt;/p&gt;
&lt;p&gt;I have not tested it with versions prior to 4.2.&lt;/p&gt;
&lt;p&gt;Enjoy :)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cedirc Shock</dc:creator><pubDate>Tue, 19 Aug 2003 23:51:57 -0000</pubDate><guid>https://sourceforge.net0fc94afe51ca2e787b49a18c300176d70b567290</guid></item><item><title>4.0.1 dateentry patch for popup calendar</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is a fix to my previous patch of dateentry.  My &lt;br /&gt;
previous patches added the -int option to datefield, &lt;br /&gt;
dateentry and calendar however dateentry didn't pass &lt;br /&gt;
the option onto the popup calendar which causes a &lt;br /&gt;
major problem.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I have also added a catch for bad dates when using the &lt;br /&gt;
popup calendar.  Since we allow people to use -int low &lt;br /&gt;
we should still allow the use of the calendar popup.&lt;br /&gt;
Thus, now when a date in the entryfield is bad the popup &lt;br /&gt;
window shows the current date instead of crashing. &lt;/p&gt;
&lt;p&gt;Mark Alston&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Alston</dc:creator><pubDate>Tue, 03 Sep 2002 04:03:14 -0000</pubDate><guid>https://sourceforge.netc775caadada51612d69520625b64cbc49184f0dc</guid></item><item><title>datefield patched for USA and European </title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Widget: Datefield 4.0.0&lt;/p&gt;
&lt;p&gt;Constructor checks for environment variable &lt;br /&gt;
TCLDATEFORMAT, if set to European dates are in &lt;br /&gt;
dd/mm/yy format else set USA format.&lt;/p&gt;
&lt;p&gt;get method still returns mm/dd/yy, added -european option &lt;br /&gt;
to get dd/mm/yy not tested.&lt;/p&gt;
&lt;p&gt;Show still expects date in mm/dd/yy. Have added a -e|-&lt;br /&gt;
european option to allow inout of euro date but not tested.&lt;/p&gt;
&lt;p&gt;Fixed bug with _lastDay method so that -iq HIGH works.&lt;/p&gt;
&lt;p&gt;Shift tab and Ctrl tab act as back tab.&lt;/p&gt;
&lt;p&gt;Works with Dateentry&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve Burger</dc:creator><pubDate>Wed, 03 Jul 2002 07:44:55 -0000</pubDate><guid>https://sourceforge.net4f8b422ddc45f707ce5795f0bad1fbbead414ce5</guid></item><item><title>Spanish datefield</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch permits dates to be shown and entered in Spanish format (dd/mm/YYYY). The result of the get command returns the original format (mm/dd/YYYY) to maintain compatibility.&lt;/p&gt;
&lt;p&gt;The Tab Key binding was also modified so it behaves as in any other widget (transverse).&lt;/p&gt;
&lt;p&gt;The patch was made against iwidgets4.0.0 release sources.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hugo Javier Curti</dc:creator><pubDate>Wed, 13 Feb 2002 18:47:38 -0000</pubDate><guid>https://sourceforge.net17f2ad12f17d9a0ddb2c5901bb873cb03b2df2b1</guid></item><item><title>iwidgets tabnotebook resize loop</title><link>https://sourceforge.net/p/incrtcl/iwidget-patches/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On MacOS X with Jim Ingham's native tcl/tk the &lt;br /&gt;
tabnotebook gets stuck in infinite loops of &lt;br /&gt;
configure events.&lt;/p&gt;
&lt;p&gt;This is possibly due to the fact that I am using tcl/tk &lt;br /&gt;
8.4a4 - I have  not tested whether this version also &lt;br /&gt;
produces the same problems on other operating &lt;br /&gt;
systems.&lt;/p&gt;
&lt;p&gt;The problem is simply that the frame widget now &lt;br /&gt;
takes -padx and -pady options which default to 0, &lt;br /&gt;
but are set to 4 by the options set in tabnotebook.&lt;br /&gt;
This causes the _resize function (tested with &lt;br /&gt;
iwidgets4.0.0) to loop indefinitely as the canvas is &lt;br /&gt;
no longer the same size as the hull.&lt;/p&gt;
&lt;p&gt;The solution is simply to reset padx and pady:&lt;/p&gt;
&lt;p&gt;*** tabnotebook.itk.orig        Thu Feb  7 11:58:07 &lt;br /&gt;
2002&lt;br /&gt;
--- tabnotebook.itk     Thu Feb  7 11:58:25 2002&lt;br /&gt;
***************&lt;br /&gt;
*** 168,174 ****&lt;br /&gt;
#                              CONSTRUCTOR&lt;br /&gt;
# -----------------------------------------------------------------&lt;br /&gt;
-----&lt;br /&gt;
itcl::body iwidgets::Tabnotebook::constructor &lt;br /&gt;
{args} {&lt;br /&gt;
!     component hull configure -borderwidth 0&lt;/p&gt;
&lt;p&gt;#&lt;br /&gt;
# Create the outermost canvas to maintain &lt;br /&gt;
geometry.&lt;br /&gt;
--- 168,174 ----&lt;br /&gt;
#                              CONSTRUCTOR&lt;br /&gt;
# -----------------------------------------------------------------&lt;br /&gt;
-----&lt;br /&gt;
itcl::body iwidgets::Tabnotebook::constructor &lt;br /&gt;
{args} {&lt;br /&gt;
!     component hull configure -borderwidth 0 -padx &lt;br /&gt;
0 -pady 0&lt;/p&gt;
&lt;p&gt;#&lt;br /&gt;
# Create the outermost canvas to maintain &lt;br /&gt;
geometry.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Bonfield</dc:creator><pubDate>Thu, 07 Feb 2002 12:07:01 -0000</pubDate><guid>https://sourceforge.net994e01e060ff25e7b88ad79def7f7b102bc484ee</guid></item></channel></rss>