summaryrefslogtreecommitdiffstats
path: root/generic/tkPanedWindow.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-231-1/+13
| | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * generic/ttk/ttkWidget.c: platforms would only require implementation * unix/tkUnixScale.c: of TkpClipDrawableToRect()).
* various "const" additions, in line with TIP #27nijtmans2007-01-051-2/+2
| | | | fix bug #1627732
* various "const" additions, in line with TIP #27nijtmans2007-01-031-3/+3
|
* Lots of ANSIfying of function decls.dkf2005-11-171-10/+10
| | | | Also a few spots where code has been cleaned up more completely.
* ANSIfydkf2005-11-151-474/+498
|
* * generic/tkPanedWindow.c, tests/panedwindow.test: batch of fixeshobbs2005-05-311-377/+297
| | | | | | | to panedwindow from Daniel South. Improved auto-size to fit internal windows, fixed sash placement at edge of pane, fixed calculation of stretch amount for internal windows. [Bug 1124198 1161543 1054117 1010941 795869 690169 1192323]
* * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): set save_under Xhobbs2004-11-171-1/+6
| | | | attr to prevent expose events when moving sash. [Bug 1036963]
* Add -hide and -stretch options to panedwindow widgets. (TIPs 177 and 179)dkf2004-10-241-70/+379
| | | | Thanks to Brian Griffin for developing these! [Patch 983886]
* Add missing GEOMETRY flag to -handlepad option. [Bug 1010938]dkf2004-08-181-434/+424
|
* * tests/panedwindow.test: panedwindow-25.1hobbs2004-05-031-1/+13
| | | | | * generic/tkPanedWindow.c (Unlink): clean up -before/-after refs to a slave when removing it. [Bug #928413] (griffin)
* Private functions should be either static or prefixed with 'Tk' (thanks GPS!)dkf2003-09-291-3/+3
|
* * generic/tkPanedWindow.c(PanedWindowWorldChanged):jenglish2003-08-191-2/+3
| | | | | Set window background from the -background resource. Fixes [BUG #791500 "PanedWindow refresh glitches on X"]
* Fix for [Bug 702230], and an evil bug it is too!dkf2003-07-181-1/+9
|
* * generic/tkPanedWindow.c (ArrangePanes): Ensure that the last panehobbs2003-07-171-3/+9
| | | | | * tests/panedwindow.test: shrinks instead of being clipped when resized below the reqsize. [Bug 748277] (spjuth)
* The panedwindow widget now sizes right around unmapped windows. [Bug 738143]dkf2003-05-211-3/+10
|
* Use the panedwindow's depth, not the screen's default depth. [Bug #671122]dkf2003-02-211-5/+3
|
* * tests/panedwindow.test:hobbs2003-02-211-3/+6
| | | | | * generic/tkPanedWindow.c (ValidSashIndex): corrected to note that 2 panes must exist before any one sash does. [tcllib Bug #689258]
* Fixed calculation of the last slave'spspjuth2003-02-201-5/+3
| | | | size when increasing the size of the panedwindow. [Bug #689099]
* * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): leave thehobbs2002-10-081-7/+13
| | | | | | DestroyPanedWindow proc to free the pwPtr, add a Preserve reference to the pwPtr->tkwin. (DestroyPanedWindow): Release the pwPtr->tkwin.
* * tests/panedwindow.test: added panedwindow-28.[12]hobbs2002-09-301-3/+3
| | | | | | | * generic/tkPanedWindow.c (PanedWindowCmdDeletedProc): (Tk_PanedWindowObjCmd): when destroying the panedwindow, destroy the proxy before the parent to avoid dependency conflicts. [Bug #616589]
* * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd):hobbs2002-08-081-2/+2
| | | | | | * library/panedwindow.tcl: changed class from PanedWindow to Panedwindow to not conflict with existing bwidgets, but also to be more regular with other names used in the core.
* Made panedwindow tests all work again; I'm fairly sure the current behaviour ↵dkf2002-08-061-6/+17
| | | | is still not right, but it is definitely better than it was when I first started tinkering with the panedwindow in that now it at least picks a sensible size in one dimension when working with widgets whose size is not known immediately.
* Stopped a potential core dump from happening when a idle event outlives its ↵dkf2002-08-021-2/+5
| | | | clientdata.
* Postpone paned-window layout arrangement on geometry event until idle,dkf2002-07-311-3/+6
| | | | | | | as is done in other window managers, to fix problems with size calculations when the children don't already know their sizes anyway. Now the layout of the vertical pane demo works better (overall initial window width is right!)
* * tests/panedwindow.test:hobbs2002-06-191-61/+7
| | | | | * generic/tkPanedWindow.c: ensure that sash index is lower bounds checked. [Bug #548727]
* * generic/tkPanedWindow.c (DestroyPanedWindow, ConfigureSlaves):hobbs2002-04-121-3/+7
| | | | fix mem leaks in not freeing slave info
* * generic/tkPanedWindow.c (PanedWindowWidgetObjCmd): fixed returnshobbs2002-02-221-12/+17
| | | | | that should have been breaks instead. Corrected .pw configure handling for insufficient args. [Patch #521436] (boudaillier)
* TIP #41 implementation, panedwindow [Patch #512503] (melski)hobbs2002-02-221-0/+2780