summaryrefslogtreecommitdiffstats
path: root/tests/config.test
Commit message (Collapse)AuthorAgeFilesLines
* * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
| | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * Completed conversion of Tk test suite to use tcltest.dgp2002-07-141-219/+223
|
* * tests/config.test: added config-14.1 to test namespace importhobbs2001-08-291-2/+20
| | | | | | | | | | | | | | evaluation of widgets. * generic/tkButton.c (ButtonCreate): * generic/tkFrame.c (CreateFrame): * generic/tkMenubutton.c (Tk_MenubuttonObjCmd): * generic/tkPlace.c (Tk_PlaceObjCmd): * generic/tkScale.c (Tk_ScaleObjCmd): * generic/tkMessage.c (Tk_MessageObjCmd): * generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd): * generic/tkSquare.c (SquareObjCmd): redid the handling of optionTables in widgets to allow them to be imported into other namespaces. [Bug #456632]
* * generic/tk.h: Added declaration of Tk_ObjCustomOption structure,ericm2000-09-171-11/+49
| | | | | | | | | | | | | | | | | | | | | | | used for TK_OPTION_CUSTOM, and typedef's of the functions Tk_CustomOptionSetProc, Tk_CustomOptionGetProc, Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for TK_OPTION_CUSTOM. * doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and section "CUSTOM OPTION TYPES" explaining how to create and use custom options. * tests/config.test: Added tests for custom option type. * generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to TestobjconfigObjCmd. Added CustomOption* functions to implement a test custom option. * generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM, which allows the definition of custom option types by creating parsing, printing, freeing, and restoring procedures for a custom option. This is needed by the text and canvas widgets if they are to be fully objectified.
* * tests/config.test: extra test to check object cleanup whenhobbs2000-03-021-14/+12
| | | | | destroying the widget * tests/entry.test: added test suite for entry validation
* * Merged 8.1 branch into the main trunkstanton1999-04-161-0/+839