Utils(n)
π¦ Utils(n) β Tix Built-In Commands: tixUtils π¦
okay so bestie, welcome to the Utils(n) page for Tix. The manual name is Tix Built-In Commands, and the main character is tixUtils. Let's get into it. π
β¨ NAME β¨
tixUtils β Utility commands in Tix.
πΈ SYNOPSIS πΈ
tixDescendants pathName
tixDisableAll pathName
tixEnableAll pathName
tixPushGrab ?-global? window
tixPopGrab
π DESCRIPTION π
Here's the whole roster, no skips:
tixDescendants pathNameβ returns a list of all the descendant widgets ofpathNamepluspathNameitself. Yes, it includes the parent too, periodt.tixDisableAll pathNameβ disablespathNameand all its descendants.tixEnableAll pathNameβ enablespathNameand all its descendants.tixPushGrab ?-global? windowβ thetixPushGrabandtixPopGrabcommands let you perform "cascade-grabbing".tixPushGrabcalls thegrab(n)command onwindowand saveswindowon a grabbing stack.tixPopGrabβ pops the top-most element from the grabbing stack and releases its grab. If the grabbing stack is not empty, thentixPopGrabwill executegrab(n)on the current top-most element in the grabbing stack.
π NOTES π
Okay, important caveat time. Some Tix widgets β for example, tixComboBox and tixPanedWindow β grab the screen on certain occasions using tixPushGrab and tixPopGrab. So if you need to grab the screen when these widgets are present, you should also call tixPushGrab and tixPopGrab in place of the Tk grab and grab release commands. Otherwise, the behavior of these widgets may be undefined.
π¨ Undefined behavior is not a vibe. Use the Tix push/pop grab commands when those widgets are around, fr fr.
π KEYWORDS π
π cute little sign-off from the footer: Tix 4.0 Β· Utils(n) π
π¦ where this page comes from
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- Copyright (c) 1993-1999 Ioi Kim Lam
- Copyright (c) 2000-2001 Tix Project Group
- (c) 1990 The Regents of the University of California
- (c) 1994-1995 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms