|
NAMEiwidgets::finddialog - Create and manipulate a find dialog widgetSYNOPSISiwidgets::finddialog pathName ?options?INHERITANCEitk::Toplevel <- iwidgets::Shell <- iwidgets::Dialogshell <- iwidgets::FinddialogSTANDARD OPTIONSactiveBackground activeForeground background borderWidth cursor disabledForeground font foreground highlightColor highlightThickness insertBackground insertBorderWidth insertOffTime insertOnTime insertWidth selectBackground selectBorderWidth selectColor selectForeground See the "options" manual entry for details on the standard options. ASSOCIATED OPTIONSselectColor See the "checkbutton" widget manual entry for details on the above associated options. selectColor See the "entryfield" widget manual entry for details on the above associated options. labelFont See the "labeledwidget" widget manual entry for details on the above associated options. INHERITED OPTIONSbuttonBoxPadX buttonBoxPadY buttonBoxPos padX padY separator thickness See the "dialogshell" widget manual entry for details on the above inherited options. height master modality width See the "shell" widget manual entry for details on the above inherited options. title See the "Toplevel" widget manual entry for details on the above inherited options. WIDGET-SPECIFIC OPTIONSName: clearCommand Class: Command Command-Line Switch: -clearcommand
Name: matchCommand Class: Command Command-Line Switch: -matchcommand
Name: patternBackground Class: Background Command-Line Switch: -patternbackground
Name: patternForeground Class: Background Command-Line Switch: -patternforeground
Name: searchBackground Class: Background Command-Line Switch: -searchbackground
Name: searchForeground Class: Background Command-Line Switch: -searchforeground
Name: textWidget Class: TextWidget Command-Line Switch: -textwidget
DESCRIPTIONThe iwidgets::finddialog command creates a find dialog that works in conjunction with a text or scrolledtext widget to provide a means of performing search operations. The user is prompted for a text pattern to be found in the text or scrolledtext widget. The search can be for all occurances, by regular expression, considerate of the case, or backwards.METHODSThe iwidgets::finddialog command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:pathName option ?arg arg ...? Option and the args determine the exact behavior of the command. The following commands are possible for finddialog widgets: INHERITED METHODSadd buttonconfigure default hide invoke show See the "buttonbox" widget manual entry for details on the above inherited methods. activate center deactivate See the "shell" widget manual entry for details on the above inherited methods. WIDGET-SPECIFIC METHODS
COMPONENTSName: all Class: Checkbutton
Name: backwards Class: Checkbutton
Name: case Class: Checkbutton
Name: pattern Class: Entryfield
Name: regexp Class: Checkbutton
EXAMPLEpackage require Iwidgets 4.0 iwidgets::scrolledtext .st pack .st .st insert end "Now is the time for all good men\n" .st insert end "to come to the aid of their country" iwidgets::finddialog .fd -textwidget .st .fd center .st .fd activate AUTHORMark L. UlfertsKEYWORDSfinddialog, dialogshell, shell, widget
Visit the GSP FreeBSD Man Page Interface. |