Lines Matching refs:Widget
3 This module provides classes to allow using Tk themed widget set.
9 implementing a widget's behavior from the code implementing its
10 appearance. Widget class bindings are primarily responsible for
11 maintaining the widget state and invoking callbacks, all aspects
420 """Define the widget layout for given style. If layoutspec is
528 class Widget(Tkinter.Widget):
532 """Constructs a Ttk Widget with the parent master.
538 SCROLLABLE WIDGET OPTIONS
542 LABEL WIDGET OPTIONS
546 WIDGET STATES
555 Tkinter.Widget.__init__(self, master, widgetname, kw=kw)
562 x and y are pixel coordinates relative to the widget."""
567 """Test the widget's state.
569 If callback is not specified, returns True if the widget state
571 then it will be invoked with *args, **kw if the widget state
581 """Modify or inquire widget state.
583 Widget state is returned if statespec is None, otherwise it is
593 class Button(Widget):
594 """Ttk Button widget, displays a textual label and/or image, and
598 """Construct a Ttk Button widget with the parent master.
605 WIDGET-SPECIFIC OPTIONS
609 Widget.__init__(self, master, "ttk::button", kw)
617 class Checkbutton(Widget):
618 """Ttk Checkbutton widget which is either in on- or off-state."""
621 """Construct a Ttk Checkbutton widget with the parent master.
628 WIDGET-SPECIFIC OPTIONS
632 Widget.__init__(self, master, "ttk::checkbutton", kw)
637 invokes the associated command. If the widget is currently
639 and deselects the widget; otherwise, sets the option variable
646 class Entry(Widget, Tkinter.Entry):
647 """Ttk Entry widget displays a one-line text string and allows that
650 def __init__(self, master=None, widget=None, **kw):
651 """Constructs a Ttk Entry widget with the parent master.
657 WIDGET-SPECIFIC OPTIONS
666 Widget.__init__(self, master, widget or "ttk::entry", kw)
689 """Ttk Combobox widget combines a text field with a pop-down list of
693 """Construct a Ttk Combobox widget with the parent master.
699 WIDGET-SPECIFIC OPTIONS
720 class Frame(Widget):
721 """Ttk Frame widget is a container, used to group other widgets
731 WIDGET-SPECIFIC OPTIONS
735 Widget.__init__(self, master, "ttk::frame", kw)
738 class Label(Widget):
739 """Ttk Label widget displays a textual label and/or image."""
749 WIDGET-SPECIFIC OPTIONS
754 Widget.__init__(self, master, "ttk::label", kw)
757 class Labelframe(Widget):
758 """Ttk Labelframe widget is a container used to group other widgets
760 or another widget."""
769 WIDGET-SPECIFIC OPTIONS
773 Widget.__init__(self, master, "ttk::labelframe", kw)
778 class Menubutton(Widget):
779 """Ttk Menubutton widget displays a textual label and/or image, and
790 WIDGET-SPECIFIC OPTIONS
794 Widget.__init__(self, master, "ttk::menubutton", kw)
797 class Notebook(Widget):
798 """Ttk Notebook widget manages a collection of windows and displays
809 WIDGET-SPECIFIC OPTIONS
831 Widget.__init__(self, master, "ttk::notebook", kw)
883 is omitted, returns the widget name of the currently selected
930 class Panedwindow(Widget, Tkinter.PanedWindow):
931 """Ttk Panedwindow widget displays a number of subwindows, stacked
941 WIDGET-SPECIFIC OPTIONS
949 Widget.__init__(self, master, "ttk::panedwindow", kw)
981 constrained to be between 0 and the total size of the widget.
989 class Progressbar(Widget):
990 """Ttk Progressbar widget shows the status of a long-running
1003 WIDGET-SPECIFIC OPTIONS
1007 Widget.__init__(self, master, "ttk::progressbar", kw)
1031 class Radiobutton(Widget):
1043 WIDGET-SPECIFIC OPTIONS
1047 Widget.__init__(self, master, "ttk::radiobutton", kw)
1052 widget, and invokes the associated command.
1059 class Scale(Widget, Tkinter.Scale):
1060 """Ttk Scale widget is typically used to control the numeric value of
1070 WIDGET-SPECIFIC OPTIONS
1074 Widget.__init__(self, master, "ttk::scale", kw)
1084 Widget.configure(self, **kw)
1093 x and y are pixel coordinates relative to the scale widget
1098 class Scrollbar(Widget, Tkinter.Scrollbar):
1099 """Ttk Scrollbar controls the viewport of a scrollable widget."""
1108 WIDGET-SPECIFIC OPTIONS
1112 Widget.__init__(self, master, "ttk::scrollbar", kw)
1115 class Separator(Widget):
1116 """Ttk Separator widget displays a horizontal or vertical separator
1126 WIDGET-SPECIFIC OPTIONS
1130 Widget.__init__(self, master, "ttk::separator", kw)
1133 class Sizegrip(Widget):
1144 Widget.__init__(self, master, "ttk::sizegrip", kw)
1147 class Treeview(Widget, Tkinter.XView, Tkinter.YView):
1148 """Ttk Treeview widget displays a hierarchical collection of items.
1162 WIDGET-SPECIFIC OPTIONS
1174 Widget.__init__(self, master, "ttk::treeview", kw)
1178 """Returns the bounding box (relative to the treeview widget's
1386 the widget if necessary so that item is within the visible
1460 """A Ttk Scale widget with a Ttk Label widget indicating its
1468 variable to be associated with the Ttk Scale widget and its range.
1471 WIDGET-SPECIFIC OPTIONS
1502 """Destroy this widget and possibly its associated variable."""
1506 # widget has been destroyed already
1558 """Construct a themed OptionMenu widget with master as the parent,
1563 WIDGET-SPECIFIC OPTIONS
1607 """Destroy this widget and its associated variable."""