summaryrefslogtreecommitdiffstats
path: root/tests/ttk
Commit message (Collapse)AuthorAgeFilesLines
* Merge core-8-5-branch to core-8-6-branch.patthoyts2016-09-221-0/+21
|\
| * Correct expansion of the spinbox textarea for the vista theme.patthoyts2016-09-221-0/+21
| | | | | | | | | | | | | | | | The spinbox textarea should stretch to fill the widget and does so with all except the vista theme. Added a test to check for this expansion to avoid regression. Fix identified Kumba on StackOverflow ( https://stackoverflow.com/a/36393680/291641 )
* | Fix [http://core.tcl.tk/tcl/info/3bd69eba99a395ee|3bd69eba99a395ee]: 'make ↵jan.nijtmans2016-06-011-2/+1
|\ \ | |/ | | | | dist' fails when tclsh9.0 is on $PATH
| * Fix [http://core.tcl.tk/tcl/info/3bd69eba99a395ee|3bd69eba99a395ee]: 'make ↵jan.nijtmans2016-06-011-2/+1
| | | | | | | | dist' fails when tclsh9.0 is on $PATH
| * 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)
* | Added test checkbutton-1.7 to guard against regressions regarding [109865fa01]bug_109865fa01fvogel2016-05-221-0/+16
| |
* | 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)
* | Fixed [ac6ca22363] - ttk/spinbox-1.8.4 test fails on Win7fvogel2015-10-231-1/+1
|\ \ | |/
| * Fixed [ac6ca22363] - ttk/spinbox-1.8.4 test fails on Win7fvogel2015-10-231-1/+1
| |
| * Increased the after delay in test spinbox-1.8.4 because it failed sometimes ↵fvogel2014-12-291-1/+1
| | | | | | | | for me, depending on the load of the computer running the test suite
* | 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
* | minor test corrections/stabilizationsdkf2012-07-242-11/+7
|/
* Move -takefocus option out of ttkCoreOptionSpecs,jenglish2011-09-221-4/+24
| | | | explicitly specify it on individual widgets. [Bug 3404541], [Bug 1204186].
* 3341056 Correct segfault due to flaw in the 2011-06-17 commit.dgp2011-06-291-1/+18
|
* Crash in unset traces 3062331dgp2011-06-171-0/+10
|
* Purge RCS Keywords.dgp2011-06-0813-38/+0
|
* [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>
* Fix crash in 'tag add' / 'tag remove' when no -tags specified [SF#3085489].jenglish2010-10-111-2/+22
|
* 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)
* Tk_CreateBinding: Silently ignore empty binding scripts (Fixes [Bug 3006842]).jenglish2010-05-311-1/+12
| | | | ttkTreeview.c: [$tv tag bind $tag <...> {}] now removes binding.
* 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.
* 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".
* Audit: ensure that output arguments to Tk_Get*FromObj() are initialized,jenglish2008-07-041-0/+9
| | | | in case of erroneous style specifications [#2009213].
* Arrange to deliver <<ComboboxSelected>> event after listbox is unposted,jenglish2008-02-231-2/+22
| | | | as intended [Bug 1890211]. Clarified documentation.
* Fix MouseWheel bindings for ttk::treeview widgetjenglish2008-01-061-82/+79
| | | | (Fixes #1442006, #1821939, #1862692)
* merge stable branch onto HEADdgp2007-12-135-5/+5
|
* 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.
* Improved the tests for ttk::style element create argspatthoyts2007-11-251-3/+3
|
* Fixed crash bug in style element createpatthoyts2007-11-191-0/+13
|
* Swap in core scrollbars for [ttk::scrollbar]s on OSX.jenglish2007-11-171-1/+32
|
* ttk::notebook: reworked [$nb insert] logic (fixes multiple bugs; see #1817596)jenglish2007-10-251-2/+29
|
* Make Ttk_GetImage safe if called with NULL interp. Added some testspatthoyts2007-10-091-1/+34
| | | | that crash on Windows without this fix.
* Made ttk/all.tcl be the same as tk's all.tcl and make use of file normalizepatthoyts2007-09-181-10/+18
|
* 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].
* 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.
* Removed tk/tests/ttk/misc.test -- ttk::dialog tests, not appropriate for core.jenglish2007-05-251-33/+0
|
* 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].
* * tests/ttk/treetags.test: Another bit of test suitedgp2007-05-181-1/+2
| | | | SCIM-tolerance. [Bug 1609316]
* duplicate test namesdgp2007-05-162-4/+4
|
* 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.
* * 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.
* Workaround for #1583038jenglish2006-11-121-1/+1
|
* 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.
* * 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).