tixFileSelectDialog(n)
β¨ tixFileSelectDialog(n) β¨
okay so bestie, gather round, because we're talking about a genuine Tix Built-In Command today π
this is the manual page for tixFileSelectDialog, and honestly? it's giving "let the user pick a file, but make it cute" π
πΈ NAME πΈ
tixFileSelectDialog β create and manipulate tixFileSelectDialog widgets. that's the whole vibe. create it, manipulate it, live your truth β¨
π¦ SYNOPSIS π¦
tixFileSelectDialog pathName ?options?
π SUPER-CLASS π
ngl this one's a loner in the best way: the TixFileSelectDialog class does not have a super-class. no parents, no inherited drama, just main character energy π
β STANDARD OPTIONS β
TixFileSelectDialog supports all the standard options of a frame widget. fr fr, all of them. if you wanna know the deets on those standard options, go check out the options(n) manual entry, iykyk π«Ά
π WIDGET-SPECIFIC OPTIONS π
-commandcommand β specifies the command to be called when the user chooses a filename (usually by selecting the filename and clicking on the "OK" button"). the command gets called with one argument: the complete pathname of the file. one arg, one file, no cap π
π SUBWIDGETS π
- Name:
btnsClass:TixStdButtonBox
the StdButtonBox subwidget at the bottom of FileSelectDialog. it's the little button squad holding the "OK", "Filter, "Cancel" and "Help" buttons. yes, that quote situation is exactly how it's written in the original, we do not fix, we do not judge π«Ά
- Name:
fsboxClass:TixFileSelectBox
the FileSelectBox subwidget at the top of the FileSelectDialog. top half, file-picking duties, iconic behavior π
β¨ DESCRIPTION β¨
the tixFileSelectDialog command creates a new window (given by the pathName argument) and makes it into a FileSelectDialog widget. giving it a whole new identity, slay π
additional options, described above, may be specified on the command line or in the option database to configure aspects of the FileSelectDialog such as its cursor and relief. yes, cursor and relief, the little aesthetic details matter π
the FileSelectDialog widget provides an convenient method for the user to select files. (that "an convenient" is the original's words, not mine, and honestly? iconic.) the FileSelectBox is similar to the standard Motif(TM) file-selection box π¦
π§ WIDGET COMMANDS π§
so the tixFileSelectDialog command creates a new Tcl command whose name is the same as the path name of the FileSelectDialog's window. this command may be used to invoke various operations on the widget. it has the following general form:
pathName option ?arg arg ...?
PathName is the name of the command, which is the same as the FileSelectDialog widget's path name. option and the args determine the exact behavior of the command. the following commands are possible for FileSelectDialog widgets, bestie:
pathName cgetoption β returns the current value of the configuration option given by option. option may have any of the values accepted by thetixFileSelectDialogcommand.pathName configure ?option? ?value option value ...?β query or modify the configuration options of the widget. if no option is specified, returns a list describing all of the available options for pathName (seeTk_ConfigureInfofor information on the format of this list). if option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). if one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. option may have any of the values accepted by thetixFileSelectDialogcommand. configure is lowkey the multitasker of this whole operation πΈpathName popdownβ withdraws theFileSelectDialogfrom the screen. bye bestie πpathName popupβ pops up theFileSelectDialogon the screen. hello bestie πpathName subwidget name ?args?β when no options are given, this command returns the pathname of the subwidget of the specified name. and when options are given, the widget command of the specified subwidget will be called with these options. both modes, one command, we love a flexible icon π
π₯ KEYWORDS π₯
Tix(n) β that's it, that's the keyword list π
real talk though: this page is short but every single flag and subwidget up there matters, so don't skip the -command one unless you want a dialog that picks a file and then does literally nothing with it π
aaand that's the whole page, bestie! π this one's from Tix version 4.0, dated tixFileSelectDialog(n) in the manual β go pick some files, have a little day, mwah πππ¦
π¦ 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