tk_focusNext - Online Linux Manual Page

Section : n
Updated : 4.0
Source : Tk
Note : Tk Built-In Commands


NAMEtk_focusNext, tk_focusPrev, tk_focusFollowsMouse − Utility procedures for managing the input focus.

SYNOPSIStk_focusNext window tk_focusPrev window tk_focusFollowsMouse .\}

DESCRIPTIONtk_focusNext is a utility procedure used for keyboard traversal. It returns the next window after window in focus order. The focus order is determined by the stacking order of windows and the structure of the window hierarchy. Among siblings, the focus order is the same as the stacking order, with the lowest window being first. If a window has children, the window is visited first, followed by its children (recursively), followed by its next sibling. Top-level windows other than window are skipped, so that tk_focusNext never returns a window in a different top-level from window. After computing the next window, tk_focusNext examines the window's −takefocus option to see whether it should be skipped. If so, tk_focusNext continues on to the next window in the focus order, until it eventually finds a window that will accept the focus or returns back to window. tk_focusPrev is similar to tk_focusNext except that it returns the window just before window in the focus order. tk_focusFollowsMouse changes the focus model for the application to an implicit one where the window under the mouse gets the focus. After this procedure is called, whenever the mouse enters a window Tk will automatically give it the input focus. The focus command may be used to move the focus to a window other than the one under the mouse, but as soon as the mouse moves into a new window the focus will jump to that window. Note: at present there is no built-in support for returning the application to an explicit focus model; to do this you will have to write a script that deletes the bindings created by tk_focusFollowsMouse.

KEYWORDSfocus, keyboard traversal, top-level
0
Johanes Gumabo
Data Size   :   6,580 byte
man-tk_focusPrev.nBuild   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   11 / 1,215,648
Visitor ID   :     :  
Visitor IP   :   18.219.224.246   :  
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 - 25.03.22
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 johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

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|tk_focusPrev.n|1|-1|140|.so t/t___k_focusFollowsMouse.n.gz )         (parse_manual_page_|254|t___k_focusFollowsMouse.n|286/140|══─}─══|.══─}─══ )         (htmlprn|160|t___k_focusFollowsMouse.n|286/140|.══─}─══|.══─}─══ )         (rof_escape_sequence|93|t___k_focusFollowsMouse.n|286/141|\}|.\} )         (parse_manual_page_|254|t___k_focusFollowsMouse.n|286/141|\}|.\} )