forsyth20121205-174063a80cc13 years agoHistory
21 lines · 704 B · Text
RawDownload
.TH FOCUS 9.SH NAMEfocus \- change or query keyboard focus.SH SYNOPSIS\f5focus \fR?\fIwhat\fR?.SH DESCRIPTIONWith no arguments, \f5focus\fP returns thename of the widget to which keyboard eventsare currently delivered, known as the.IR "keyboard focus" .When given an argument,\f5focus\fP changes the keyboard focus.If \fIwhat\fP is the name of a widget, thatwidget will be made the keyboard focus.If \fIwhat\fP is \f5next\fP, the keyboard focuswill be changed to the next item in thefocus order for that window. If \fIwhat\fP is\f5previous\fP, the keyboard focus will bechanged to the previous item in the focus orderfor that window. The focus order is determinedautomatically by Tk.