ttk::panedwindow cget
Gives the value of an option of the widget.
PATHNAME cget OPTION
Description
Gives the value of OPTION. With no value from the script, the value is the default of the option. The option needs its full name.
Returns
The value of the option.
Examples
% ttk::panedwindow .tpwcg -cursor hand2
> .tpwcg cget -cursor
hand2
Errors
% ttk::panedwindow .tpwcg3; .tpwcg3 cget -bogus
unknown option "-bogus"
-errorcode TK LOOKUP OPTION -bogus
% ttk::panedwindow .tpwcg4; .tpwcg4 cget
wrong # args: should be ".tpwcg4 cget option"
-errorcode TCL WRONGARGS
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1