summaryrefslogtreecommitdiffstats
path: root/generic/tkPanedWindow.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * * 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)
| * | * generic/tkPanedWindow.c (PanedWindowProxyCommand)dgp2008-06-261-4/+13
| | | | | | | | | | | | | | | (DisplayPanedWindow): Ensure that a zero width never gets fed to the underlying window system. [Bug 1639824] (Backport fix from dkf).
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-14/+13
| | | | | | | | | using useful casts internally.
* | | Use @EXEEXT@ in stead of @EXT_SUFFIX@nijtmans2010-02-221-2/+2
| | | | | | | | | | | | | | | Use -DBUILD_tk in Makefile Make internal Tk_ObjCustomOption const
* | | use -pipe for gcc on win32 (mingw/cygwin)nijtmans2010-02-131-8/+8
| | | | | | | | | | | | | | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-6/+6
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-2/+3
| | |
* | | - eliminate some unnessary type castsnijtmans2009-02-031-3/+4
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | More small changes to use C89 better and manage the result more efficiently.dkf2008-11-081-2/+2
| | |
* | | more internal -Wwrite-strings warning fixesnijtmans2008-10-301-3/+3
| | |
* | | Add "const" to many internalnijtmans2008-10-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | | Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-5/+5
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-2/+2
| | |
* | | Apply fix for [Bug 1639824]dkf2008-05-141-4/+13
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-62/+62
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | header cleanupdgp2007-09-071-2/+1
| |
* | * 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