ttk::button - Online Linux Manual PageSection : n
Updated : 8.5
Source : Tk
Note : Tk Themed Widget
NAMEttk::button − Widget that issues a command when pressed
SYNOPSISttk::button pathName ?options?
.\}
DESCRIPTIONA ttk::button widget displays a textual label and/or image, and evaluates a command when pressed.
STANDARD OPTIONS−class −compound −cursor
−image −state −style
−takefocus −text −textvariable
−underline −width
See the ttk_widget manual entry for details on the standard options.
WIDGET-SPECIFIC OPTIONS [ −command command ] A script to evaluate when the widget is invoked. [ −default default ] May be set to one of normal, active, or disabled. In a dialog box, one button may be designated the ‟default” button (meaning, roughly, ‟the one that gets invoked when the user presses <Enter>”). active indicates that this is currently the default button; normal means that it may become the default button, and disabled means that it is not defaultable. The default is normal. Depending on the theme, the default button may be displayed with an extra highlight ring, or with a different border color.
WIDGET COMMANDIn addition to the standard cget, configure, identify, instate, and state commands, buttons support the following additional widget commands: pathName invoke Invokes the command associated with the button.
STANDARD STYLESTtk::button widgets support the Toolbutton style in all standard themes, which is useful for creating widgets for toolbars.
STYLING OPTIONSThe class name for a ttk::button is TButton. Dynamic states: active, disabled, pressed, readonly. TButton styling options configurable with ttk::style are: −anchor anchor
−background color
−bordercolor color
−compound compound
−darkcolor color
−foreground color
−font font
−highlightcolor color
−highlightthickness amount
−lightcolor color
−padding padding
−relief relief
−shiftrelief amount −shiftrelief specifies how far the button contents are shifted down and right in the pressed state. This action provides additional skeumorphic feedback. −width amount Some options are only available for specific themes. See the ttk::style manual page for information on how to configure ttk styles.
SEE ALSOttk::widget(n), button(n)
KEYWORDSwidget, button, default, command 0
Johanes Gumabo
Data Size : 13,644 byte
man-ttk_button.nBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 239,354
Visitor ID : :
Visitor IP : 18.119.255.183 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_escape_sequence_block|26|(null)|(null)|-1|139) (parse_manual_page_|249|ttk_button.n|280/139|══─}─══|.══─}─══
) (htmlprn|149|ttk_button.n|280/139|.══─}─══|.══─}─══
) (rof_escape_sequence|91|ttk_button.n|280/140|\}|.\}
) (parse_manual_page_|249|ttk_button.n|280/140|\}|.\}
) (rof_OP|10|ttk_button.n|291|4|.OP \-command command Command
) (rof_OP|10|ttk_button.n|293|4|.OP \-default default Default
)