| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
|/
|
|
| |
times than the corresponding Tk_CreateOptionTable(). Although it doesn't crash now, this behavior cannot be depended on.
|
|\ |
|
| |\ |
|
| | | |
|
|/ / |
|
| | |
|
|/
|
|
|
| |
* tests/constraints.tcl: -loadfile to hold definitions
* tests/*.test: common to all test files.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
destroying the widget
* tests/entry.test: added test suite for entry validation
|
|
|