1/7/2024 0 Comments Add html widget to activetcl? last? Adjust the selection within the listbox component and updates List or entry, just before the element given by ? Insert one or more new elements into the given component, pathName insert component index element ? element element. With a single argument, returns the contents of the pathName get ? index? With no arguments, returns the contents currently in the entryįield area. (displayed in the entry field area), the entry field will beĬleared. If a list item to be removed is currently selected ? last? Delete one or more elements from a given component, list Option may have any of the values accepted by theĬombobox command. Given value(s) in this case the command returns an empty string. Then the command modifies the given widget option(s) to have the If one or more option-value pairs are specified, Specified with no value, then the command returns a listĭescribing the one named option (this list will be identical to theĬorresponding sublist of the value returned if no option is Option is specified, returns a list describing all of theĪvailable options for pathName (see Tk_ConfigureInfoįor information on the format of this list). ? Query or modify the configuration options of the widget. With noĬomponent specified, both are cleared. ValidĬomponent values are list, or entry. pathName clear ? component? Clears the contents from one or both components. Option may have any of the values accepted by WIDGET-SPECIFIC METHODS pathName cget option Returns the current value of the configuration option given by Manual entries for details on the above associated methods. The following commands are possible for Combobox Option and the args determine the exact behavior of It has the following general form: pathName option ? arg arg. This command may be used to invoke various The combobox command creates a new Tcl command whose name Style allows an optional entry field label. Listbox beneath the entry field and has no arrow button. The simple (non-dropdown) Combobox permanently displays the Will pop up (and down) the scrolled listbox beneath the entryįield. The dropdown style adds anĪrrow button to the right of the entry field which when activated There are two basic styles of Comboboxes (determined by the Scrolling and (optional) item editing and inserting Similar to an Optionmenu, the Combobox adds (optional) list Is then displayed in the entry field text area. When an item is selected in the list area of a Combobox, its value Widget with an optional associated label and a scrollable list. The combobox command creates an enhanced entry field Given in any of the formsĪcceptable to Tcl_GetBoolean. If false, a duplicateĮntry causes selection of the item. If true, thenĭuplicates are not allowed to be inserted. WIDGET-SPECIFIC OPTIONSĭuplicate items are allowed in the combobox list. Manual entry for details on the inherited options. Manual entry for details on the above inherited option. Manual entry for details on the above inherited options. Manual entry for details on the standard options. Itk::Widget <- LabeledWidget <- Entryfield <- Combobox Combobox - Create and manipulate combination box widgets SYNOPSIS combobox pathName ? options?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |