summaryrefslogtreecommitdiffstats
path: root/tests/ttk
Commit message (Collapse)AuthorAgeFilesLines
* Fix [http://core.tcl.tk/tcl/info/3bd69eba99a395ee|3bd69eba99a395ee]: 'make ↵jan.nijtmans2016-06-011-2/+1
|\ | | | | | | | | dist' fails when tclsh9.0 is on $PATH FossilOrigin-Name: 48fe0012d457916abf57936fd8e1af62176f94c2
| * Fix [http://core.tcl.tk/tcl/info/3bd69eba99a395ee|3bd69eba99a395ee]: 'make ↵jan.nijtmans2016-06-011-2/+1
| | | | | | | | | | dist' fails when tclsh9.0 is on $PATH FossilOrigin-Name: aa6515f79e30d6a49acc7e1482aea75bb2131239
| * NotebookAddCommand: fix off-by-one error counting objc/objvjenglish2016-01-251-0/+21
| | | | | | | | | | | | | | when readding an already-managed window with arguments. Bug reported on tcl-core by Sam Bromley (22 Jan 2016) FossilOrigin-Name: a5f78b26f8611931e30d72e28fcbf8211bd28c34
* | Added test checkbutton-1.7 to guard against regressions regarding [109865fa01]fvogel2016-05-221-0/+16
| | | | | | FossilOrigin-Name: 265212e3e7bb959db2e5e2b0c5a99f76f00ddb4c
* | NotebookAddCommand: fix off-by-one error counting objc/objvjenglish2016-01-251-0/+21
| | | | | | | | | | | | | | when readding an already-managed window with arguments. Bug reported on tcl-core by Sam Bromley (22 Jan 2016) FossilOrigin-Name: 4561021adb7d6454c54f0ef9869ed55b05390ba9
* | Fixed [ac6ca22363] - ttk/spinbox-1.8.4 test fails on Win7fvogel2015-10-231-1/+1
|\ \ | |/ | | FossilOrigin-Name: d226acb5d1b71a772468bd34814ebd1456711d12
| * Fixed [ac6ca22363] - ttk/spinbox-1.8.4 test fails on Win7fvogel2015-10-231-1/+1
| | | | | | FossilOrigin-Name: f249a37f524d4f96d44e32dd847f4bd17053eab4
| * Increased the after delay in test spinbox-1.8.4 becasue it failed sometimes ↵fvogel2014-12-291-1/+1
| | | | | | | | | | for me, depending on the load of the computer running the test suite FossilOrigin-Name: 97391a2fef5cf1c90629c3f414fc8e78d229d76f
* | Cherrypicked [97391a2fef] - Increased the after delay in test spinbox-1.8.4 ↵fvogel2015-01-021-1/+1
| | | | | | | | | | because it failed sometimes for me, depending on the load of the computer running the test suite FossilOrigin-Name: 41ffb045f1babcc0551337ca7350651df0506251
* | minor test corrections/stabilizationsdkf2012-07-242-11/+7
|/ | | FossilOrigin-Name: 91d75e7b9a0c9cda36ad326e3311464e58d45133
* Move -takefocus option out of ttkCoreOptionSpecs,jenglish2011-09-221-4/+24
| | | | | | explicitly specify it on individual widgets. [Bug 3404541], [Bug 1204186]. FossilOrigin-Name: 4e45dfd32a0e6e801788fdc61a8e9067b7de65d5
* 3341056 Correct segfault due to flaw in the 2011-06-17 commit.dgp2011-06-291-1/+18
| | | FossilOrigin-Name: b938e2364a82b9589c87ed813dde056010a5c9b9
* Crash in unset traces 3062331dgp2011-06-171-0/+10
| | | FossilOrigin-Name: 6c9558cde2e0b12b20df5915a971f8d2c821d59e
* Purge RCS Keywords.dgp2011-06-0813-38/+0
| | | FossilOrigin-Name: 3f95fbe0ce14948fd409844b915c18ef25d7d0a0
* [Bug 3223850] - button remains stuck when disabled as depressed on XPpatthoyts2011-03-191-0/+17
| | | | | | | | | | | If a button is disabled while the state is pressed, then the release event handler did not remove the pressed state. Modified the handler to always remove the pressed state while only calling invoke if !disabled. Reported-by: Thomas MENEZ <thomasmenez@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> FossilOrigin-Name: 3837f9f2914fe138a0fee1ff6ef295cbb16d614b
* Fix crash in 'tag add' / 'tag remove' when no -tags specified [SF#3085489].jenglish2010-10-111-2/+22
| | | FossilOrigin-Name: 5a74549e465c76c3209655000dc075da040d3406
* Major backport of 8.6 Ttk for 8.5.9. Most changes were only beinghobbs2010-08-268-147/+761
| | | | | | | | | | | | | | | | committed to head (8.6), although they could apply for 8.5 as well. This re-sync makes future work easier to maintain and adds some useful work for 8.5 users. Notable changes: - Lots of code cleanup - Some bug fixes never backported - Addition of ttk::spinbox - minor color changes - Improved Vista/7 styling - Move to tile version 0.8.6 (pseudo-package) - ABI and API compatible (even $w identify) - minor new features (extended $w identify) FossilOrigin-Name: 4cd6631df4dd9ec673677a7834f9b7e9d10b8e1c
* Tk_CreateBinding: Silently ignore empty binding scripts (Fixes [Bug 3006842]).jenglish2010-05-311-1/+12
| | | | | | ttkTreeview.c: [$tv tag bind $tag <...> {}] now removes binding. FossilOrigin-Name: edac9a281584e417784dc74a51ebe06b969066b6
* Backported support for the Vista theme.patthoyts2009-05-141-0/+48
| | | | | | This requires the vsapi element engine, the hover state and the theme script definition. FossilOrigin-Name: 90871e2c7b40dd873cc2394fb2fab60c8809fdc6
* generic/ttk/ttkScroll.c: Don't use sprintf "%g" to format floatingjenglish2008-08-192-4/+4
| | | | | | | point numbers in -[xy]scrollcommand callbacks or [xy]view methods. Minor incompatibility: 0 and 1 now formatted as "0.0" resp "1.0". FossilOrigin-Name: 15d14a19a144eca55e22eb67fec43879b465bded
* Audit: ensure that output arguments to Tk_Get*FromObj() are initialized,jenglish2008-07-041-0/+9
| | | | | | in case of erroneous style specifications [#2009213]. FossilOrigin-Name: 7a2bfd0898a7bf10a7f05fcb3343e86b2a9a1d6a
* Arrange to deliver <<ComboboxSelected>> event after listbox is unposted,jenglish2008-02-231-2/+22
| | | | | | as intended [Bug 1890211]. Clarified documentation. FossilOrigin-Name: 448844d29f1256fc5bdf5e2063436d2da7e4dade
* Fix MouseWheel bindings for ttk::treeview widgetjenglish2008-01-061-82/+79
| | | | | | (Fixes #1442006, #1821939, #1862692) FossilOrigin-Name: 316f0f8777147fc815639503d83a512d48a3fba7
* merge stable branch onto HEADdgp2007-12-135-5/+5
| | | FossilOrigin-Name: e7868b44c1e7bffc63a053b87a96a4499757f80d
* Internal Ttk_Manager API updates; Fixed [Bug 1343984];jenglish2007-11-252-10/+96
| | | | | | | | Added [$nb hide] method; [$nb add] on already-managed windows no longer throws an error, can be used to re-add a hidden tab. Updated docs and test suite. FossilOrigin-Name: f37e8950c8ae5dac012cfdb5bf2a9db2df884ea8
* Improved the tests for ttk::style element create argspatthoyts2007-11-251-3/+3
| | | FossilOrigin-Name: bfadefe264ddefad522e3cb5e2e6431145428131
* Fixed crash bug in style element createpatthoyts2007-11-191-0/+13
| | | FossilOrigin-Name: fa3581e10250161243924ffa49bd09d6be2f69d6
* Swap in core scrollbars for [ttk::scrollbar]s on OSX.jenglish2007-11-171-1/+32
| | | FossilOrigin-Name: 3b33c44dc0eeee8b2b037e1b4eacac58a53119f8
* ttk::notebook: reworked [$nb insert] logic (fixes multiple bugs; see #1817596)jenglish2007-10-251-2/+29
| | | FossilOrigin-Name: 12a800daa1ab921297f0bcceb293bbc9313ff3d5
* Make Ttk_GetImage safe if called with NULL interp. Added some testspatthoyts2007-10-091-1/+34
| | | | | | that crash on Windows without this fix. FossilOrigin-Name: fb96f8c88ef2cf1d01b5d1b3a39ac4242efa1bf9
* Made ttk/all.tcl be the same as tk's all.tcl and make use of file normalizepatthoyts2007-09-181-10/+18
| | | FossilOrigin-Name: 40dd5ce77142909d5a2c3293798be885cf20174f
* Added -width and -height options.jenglish2007-06-101-2/+49
| | | | | | | | | Added 'panes' method, return list of managed windows. 'sashpos' method is now documented as part of the public interface, and details clarified. Should be easier to set initial sash positions now [Alleviates #1659067]. FossilOrigin-Name: e67826b372bd21f0c57bacc04ec101a7f33fa843
* Ttk_Manager API overhaul:jenglish2007-06-092-4/+48
| | | | | | | | | | | | | + Ttk_Manager no longer responsible for managing slave records + Ttk_Manager structure now opaque + Ttk_Slave structure now private + Pass Ttk_Manager * to Tk_GeomMgr hooks instead of Ttk_Slave * ttk::labelframe: Simplified -labelwidget management. ttk::noteboook 'insert' command didn't correctly maintain current tab. Changed documentation of ttk::panedwindow 'identify' command to match implementation. FossilOrigin-Name: def6bb17f9e3906823584da8275e0052377733db
* Removed tk/tests/ttk/misc.test -- ttk::dialog tests, not appropriate for core.jenglish2007-05-251-33/+0
| | | FossilOrigin-Name: d95fb3b57e6bd123a5eb1c2cb7682d37b76835a7
* EntrySetValue: Ensure that widget is in a consistent state before settingjenglish2007-05-181-0/+21
| | | | | | | the linked -textvariable. Previously, it was possible for [$e index insert] to point past the end of the string, leading to heap corruption [Bug 1721532]. FossilOrigin-Name: 6e624fd3ec8886cffe28f45649d20212a066fe5c
* * tests/ttk/treetags.test: Another bit of test suitedgp2007-05-181-1/+2
| | | | | | SCIM-tolerance. [Bug 1609316] FossilOrigin-Name: c6235211a67339adb38c5590bad835f44d1ac28e
* duplicate test namesdgp2007-05-162-4/+4
| | | FossilOrigin-Name: 56f702aebaac0065174b0abeaf22740b72b8e3fc
* Merged duplicate functionality between image element factory,jenglish2006-12-091-25/+2
| | | | | | | | image element, and -image option processing. Image element factory now takes an imageSpec argument instead of a separate image name and -map option. FossilOrigin-Name: e3da608e98ed94e4ae349bfd0e23b71010d0fda5
* * library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,jenglish2006-11-241-2/+2
| | | | | | | | | | | | library/ttk/defaults.tcl, library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl: explicitly specify -anchor w on TMenubutton * tests/ttk/entry.test: Fixed font dependency; test entry-3.2 should work on all platforms now. * library/classicTheme.tcl: Don't define or use TkClassicDefaultFont. * generic/ttk/ttkTreeview.c, generic/ttk/ttkPanedwindow.c: Handle missing layouts. FossilOrigin-Name: bcec0a6d03c28d1231062507218dbf8cf5d15de1
* Workaround for #1583038jenglish2006-11-121-1/+1
| | | FossilOrigin-Name: e4e59adc10bdff11fc58ca8093c37560fc9044bb
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-072-104/+3
| | | | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code. FossilOrigin-Name: b0e5e0ffb2a3a61a7533fa4477fa5751811babbe
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-3116-0/+2827
* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n: * doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n: * doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n: * doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n: * doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n: * doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n: * doc/ttk_treeview.n, doc/ttk_widget.n,: * generic/ttk/ttk.decls, generic/ttk/ttkBlink.c: * generic/ttk/ttkButton.c, generic/ttk/ttkCache.c: * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c: * generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c: * generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c: * generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c: * generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c: * generic/ttk/ttkSquare.c, generic/ttk/ttkState.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c: * generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h: * generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h: * library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl: * library/demos/ttk_repeater.tcl: * library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl: * library/ttk/button.tcl, library/ttk/clamTheme.tcl: * library/ttk/classicTheme.tcl, library/ttk/combobox.tcl: * library/ttk/cursors.tcl, library/ttk/defaults.tcl: * library/ttk/dialog.tcl, library/ttk/entry.tcl: * library/ttk/fonts.tcl, library/ttk/icons.tcl: * library/ttk/keynav.tcl, library/ttk/menubutton.tcl: * library/ttk/notebook.tcl, library/ttk/panedwindow.tcl: * library/ttk/progress.tcl, library/ttk/scale.tcl: * library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl: * library/ttk/treeview.tcl, library/ttk/ttk.tcl: * library/ttk/utils.tcl, library/ttk/winTheme.tcl: * library/ttk/xpTheme.tcl: * macosx/ttkMacOSXTheme.c: * tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test: * tests/ttk/entry.test, tests/ttk/image.test: * tests/ttk/labelframe.test, tests/ttk/layout.test: * tests/ttk/misc.test, tests/ttk/notebook.test: * tests/ttk/panedwindow.test, tests/ttk/progressbar.test: * tests/ttk/scrollbar.test, tests/ttk/treetags.test: * tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: First import of Ttk themed Tk widgets as branched from tile 0.7.8 * generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy tk classic widgets to ::tk namespace. * library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library. * unix/Makefile.in, win/Makefile.in: add Ttk build bits * win/configure, win/configure.in: check for uxtheme.h (XP theme). FossilOrigin-Name: 7c7e532bde391eb8b36b9e412978dd5ab8facee2