diff options
author | fvogel <fvogelnew1@free.fr> | 2017-03-21 20:56:14 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-03-21 20:56:14 (GMT) |
commit | 38465faf27a2dd1b680aab3787b30139a6f24094 (patch) | |
tree | f657c7ea708b042d55d0bedc1731eac46f0134e0 /generic/ttk/ttkButton.c | |
parent | 8356b50cc915367d0bf4cf242de5374d5055c28d (diff) | |
parent | 856e2b93a549f8c2a1195ba81c097d95ba381121 (diff) | |
download | tk-38465faf27a2dd1b680aab3787b30139a6f24094.zip tk-38465faf27a2dd1b680aab3787b30139a6f24094.tar.gz tk-38465faf27a2dd1b680aab3787b30139a6f24094.tar.bz2 |
Merged tip-442 following positive vote by the TCT.
Diffstat (limited to 'generic/ttk/ttkButton.c')
-rw-r--r-- | generic/ttk/ttkButton.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/ttk/ttkButton.c b/generic/ttk/ttkButton.c index c00754b..ef55ec3 100644 --- a/generic/ttk/ttkButton.c +++ b/generic/ttk/ttkButton.c @@ -23,6 +23,7 @@ typedef struct * Text element resources: */ Tcl_Obj *textObj; + Tcl_Obj *justifyObj; Tcl_Obj *textVariableObj; Tcl_Obj *underlineObj; Tcl_Obj *widthObj; @@ -56,6 +57,9 @@ typedef struct static Tk_OptionSpec BaseOptionSpecs[] = { + {TK_OPTION_JUSTIFY, "-justify", "justify", "Justify", + "left", Tk_Offset(Base,base.justifyObj), -1, + TK_OPTION_NULL_OK,0,GEOMETRY_CHANGED }, {TK_OPTION_STRING, "-text", "text", "Text", "", Tk_Offset(Base,base.textObj), -1, 0,0,GEOMETRY_CHANGED }, |