diff options
author | fvogel <fvogelnew1@free.fr> | 2017-03-07 20:46:17 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-03-07 20:46:17 (GMT) |
commit | b536633b39243893edda31138eec6653e484759b (patch) | |
tree | 0c42e4cf0fd626abed625558091381b425e0b59a /doc | |
parent | aa4022a388d07e718331f5a593fc2ed6e0572fa9 (diff) | |
download | tk-b536633b39243893edda31138eec6653e484759b.zip tk-b536633b39243893edda31138eec6653e484759b.tar.gz tk-b536633b39243893edda31138eec6653e484759b.tar.bz2 |
Document -justify for ttk::button
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ttk_button.n | 2 | ||||
-rw-r--r-- | doc/ttk_label.n | 7 | ||||
-rw-r--r-- | doc/ttk_widget.n | 5 |
3 files changed, 7 insertions, 7 deletions
diff --git a/doc/ttk_button.n b/doc/ttk_button.n index 62ebe47..e7c88b2 100644 --- a/doc/ttk_button.n +++ b/doc/ttk_button.n @@ -17,7 +17,7 @@ A \fBttk::button\fR widget displays a textual label and/or image, and evaluates a command when pressed. .SO ttk_widget \-class \-compound \-cursor -\-image \-state \-style +\-image \-justify \-state \-style \-takefocus \-text \-textvariable \-underline \-width .SE diff --git a/doc/ttk_label.n b/doc/ttk_label.n index 6781b47..e891954 100644 --- a/doc/ttk_label.n +++ b/doc/ttk_label.n @@ -19,7 +19,7 @@ The label may be linked to a Tcl variable to automatically change the displayed text. .SO ttk_widget \-class \-compound \-cursor -\-image \-style \-takefocus +\-image \-justify \-style \-takefocus \-text \-textvariable \-underline \-width .SE @@ -38,11 +38,6 @@ Font to use for label text. .OP \-foreground textColor TextColor The widget's foreground color. If unspecified, the theme default is used. -.OP \-justify justify Justify -If there are multiple lines of text, specifies how -the lines are laid out relative to one another. -One of \fBleft\fR, \fBcenter\fR, or \fBright\fR. -See also \fB\-anchor\fR. .OP \-padding padding Padding Specifies the amount of extra space to allocate for the widget. The padding is a list of up to four length specifications diff --git a/doc/ttk_widget.n b/doc/ttk_widget.n index 2ecc29f..1ab3bc8 100644 --- a/doc/ttk_widget.n +++ b/doc/ttk_widget.n @@ -71,6 +71,11 @@ See the description of \fB\-xscrollcommand\fR above for details. .SH "LABEL OPTIONS" The following options are supported by labels, buttons, and other button-like widgets: +.OP \-justify justify Justify +If there are multiple lines of text, specifies how +the lines are laid out relative to one another. +One of \fBleft\fR, \fBcenter\fR, or \fBright\fR. +See also \fB\-anchor\fR (for widgets supporting this option). .OP \-text text Text Specifies a text string to be displayed inside the widget (unless overridden by \fB\-textvariable\fR). |