Home
last modified time | relevance | path

Searched refs:widget (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py54 def checkParam(self, widget, name, value, expected=_sentinel, argument
56 widget[name] = value
68 self.assertEqual2(widget[name], expected, eq=eq)
69 self.assertEqual2(widget.cget(name), expected, eq=eq)
71 if not isinstance(widget, Scale):
72 t = widget.configure(name)
76 def checkInvalidParam(self, widget, name, value, errmsg=None, argument
78 orig = widget[name]
82 widget[name] = value
86 self.assertEqual(widget[name], orig)
[all …]
/external/python/cpython3/Lib/tkinter/test/
Dwidget_tests.py50 def checkParam(self, widget, name, value, *, expected=_sentinel, argument
52 widget[name] = value
64 self.assertEqual2(widget[name], expected, eq=eq)
65 self.assertEqual2(widget.cget(name), expected, eq=eq)
67 if not isinstance(widget, Scale):
68 t = widget.configure(name)
72 def checkInvalidParam(self, widget, name, value, errmsg=None, *, argument
74 orig = widget[name]
78 widget[name] = value
82 self.assertEqual(widget[name], orig)
[all …]
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_widgets.py26 widget = self.create()
27 self.assertEqual(widget['class'],
28 widget.__class__.__name__.title())
29 self.checkInvalidParam(widget, 'class', 'Foo',
35 widget = self.create()
36 self.assertEqual(widget['colormap'], '')
37 self.checkInvalidParam(widget, 'colormap', 'new',
43 widget = self.create()
44 self.assertEqual(widget['container'], 0 if self.wantobjects else '0')
45 self.checkInvalidParam(widget, 'container', 1,
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_widgets.py23 widget = self.create()
24 self.assertEqual(widget['class'],
25 widget.__class__.__name__.title())
26 self.checkInvalidParam(widget, 'class', 'Foo',
32 widget = self.create()
33 self.assertEqual(widget['colormap'], '')
34 self.checkInvalidParam(widget, 'colormap', 'new',
40 widget = self.create()
41 self.assertEqual(widget['container'], 0 if self.wantobjects else '0')
42 self.checkInvalidParam(widget, 'container', 1,
[all …]
/external/autotest/server/cros/tradefed_test_unittest_data/
DCtsWidgetTestCases.txt12 05-11 02:43:32 D/InstrumentationTest: Collecting test info for android.widget.cts on device chromeo…
13 …r/includes.txt -e debug false -e log true -e timeout_msec 300000 android.widget.cts/android.suppor…
14 …/includes.txt -e debug false -e log false -e timeout_msec 300000 android.widget.cts/android.suppor…
15 05-11 02:43:42 D/ModuleListener: ModuleListener.testRunStarted(android.widget.cts, 1194)
17 05-11 02:43:42 D/ModuleListener: ModuleListener.testStarted(android.widget.cts.AbsListViewTest#test…
18 05-11 02:43:43 D/ModuleListener: ModuleListener.testEnded(android.widget.cts.AbsListViewTest#testAc…
19 …r: [1/1194 x86 CtsWidgetTestCases chromeos2-row4-rack6-host8:22] android.widget.cts.AbsListViewTes…
20 05-11 02:43:43 D/ModuleListener: ModuleListener.testStarted(android.widget.cts.AbsListViewTest#test…
21 05-11 02:43:43 D/ModuleListener: ModuleListener.testEnded(android.widget.cts.AbsListViewTest#testAc…
22 …r: [2/1194 x86 CtsWidgetTestCases chromeos2-row4-rack6-host8:22] android.widget.cts.AbsListViewTes…
[all …]
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dwpagui.ui3 <widget class="QMainWindow" name="WpaGui" >
19 <widget class="QWidget" name="widget" >
22 <widget class="QLabel" name="adapterLabel" >
26 </widget>
29 <widget class="QComboBox" name="adapterSelect" />
32 <widget class="QLabel" name="networkLabel" >
36 </widget>
39 <widget class="QComboBox" name="networkSelect" />
42 <widget class="QTabWidget" name="wpaguiTab" >
46 <widget class="QWidget" name="statusTab" >
[all …]
Dnetworkconfig.ui3 <widget class="QDialog" name="NetworkConfig" >
17 <widget class="QPushButton" name="cancelButton" >
21 </widget>
24 <widget class="QFrame" name="frame9" >
33 <widget class="QLabel" name="ssidLabel" >
37 </widget>
40 <widget class="QLineEdit" name="ssidEdit" >
47 </widget>
50 <widget class="QLabel" name="authLabel" >
54 </widget>
[all …]
Duserdatarequest.ui6 <widget class="QDialog" name="UserDataRequest" >
23 <widget class="QLabel" name="queryInfo" >
27 </widget>
35 <widget class="QLabel" name="queryField" >
39 </widget>
42 <widget class="QLineEdit" name="queryEdit" >
49 </widget>
75 <widget class="QPushButton" name="buttonOk" >
88 </widget>
91 <widget class="QPushButton" name="buttonCancel" >
[all …]
/external/ImageMagick/MagickCore/
Dwidget.c1327 if (event->xany.window == windows->widget.id) in XScreenEvent()
1330 windows->widget.mapped=MagickTrue; in XScreenEvent()
1332 windows->widget.mapped=MagickFalse; in XScreenEvent()
1712 font_info=windows->widget.font_info; in XColorBrowserWidget()
1733 windows->widget.width=(unsigned int) in XColorBrowserWidget()
1735 windows->widget.min_width=(unsigned int) in XColorBrowserWidget()
1737 if (windows->widget.width < windows->widget.min_width) in XColorBrowserWidget()
1738 windows->widget.width=windows->widget.min_width; in XColorBrowserWidget()
1739 windows->widget.height=(unsigned int) in XColorBrowserWidget()
1741 windows->widget.min_height=(unsigned int) in XColorBrowserWidget()
[all …]
/external/python/cpython2/Lib/idlelib/
DCallTipWindow.py18 def __init__(self, widget): argument
19 self.widget = widget
28 curline = int(self.widget.index("insert").split('.')[0])
32 self.widget.see("insert")
34 box = self.widget.bbox("%d.%d" % (self.parenline,
37 box = self.widget.bbox("%d.0" % curline)
39 box = list(self.widget.bbox("insert"))
43 x = box[0] + self.widget.winfo_rootx() + 2
44 y = box[1] + box[3] + self.widget.winfo_rooty()
55 self.widget.mark_set(MARK_RIGHT, parenright)
[all …]
DWidgetRedirector.py28 def __init__(self, widget): argument
40 self.widget = widget # widget instance
41 self.tk = tk = widget.tk # widget's root
42 w = widget._w # widget's (full) Tk pathname
51 return "WidgetRedirector(%s<%s>)" % (self.widget.__class__.__name__,
52 self.widget._w)
58 widget = self.widget
59 tk = widget.tk
60 w = widget._w
64 del self.widget, self.tk # Should not be needed
[all …]
DMultiCall.py69 def __init__(self, type, widget, widgetinst): argument
72 self.widget = widget
89 self.handlerid = self.widget.bind(self.widgetinst,
96 self.widget.unbind(self.widgetinst, self.sequence, self.handlerid)
101 self.widget.unbind(self.widgetinst, self.sequence, self.handlerid)
180 def __init__(self, type, widget, widgetinst): argument
183 self.widget = widget
200 self.handlerids.append((seq, self.widget.bind(self.widgetinst,
213 self.handlerids.append((seq, self.widget.bind(self.widgetinst,
230 self.widget.unbind(self.widgetinst, seq, id)
[all …]
DAutoCompleteWindow.py24 def __init__(self, widget): argument
26 self.widget = widget
62 self.widget.delete("%s+%dc" % (self.startindex, i),
65 self.widget.insert("%s+%dc" % (self.startindex, i),
156 self.startindex = self.widget.index(index)
157 self.start = self.widget.get(self.startindex, "insert")
172 self.autocompletewindow = acw = Toplevel(self.widget)
202 self.hideid = self.widget.bind(HIDE_VIRTUAL_EVENT_NAME,
205 self.widget.event_add(HIDE_VIRTUAL_EVENT_NAME, seq)
206 self.keypressid = self.widget.bind(KEYPRESS_VIRTUAL_EVENT_NAME,
[all …]
/external/python/cpython2/Tools/webchecker/
Dtktools.py9 widget = event.widget
10 widget.delete(0, INSERT)
25 widget = Toplevel(master, class_=class_)
27 widget = Toplevel(master)
29 widget.title(title)
30 widget.iconname(title)
31 return widget
33 def set_transient(widget, master, relx=0.5, rely=0.3, expose=1): argument
41 widget.withdraw() # Remain invisible while we figure out the geometry
42 widget.transient(master)
[all …]
/external/python/cpython2/Demo/tkinter/ttk/
Dnotebook_closebtn.py39 x, y, widget = event.x, event.y, event.widget
40 elem = widget.identify(x, y)
41 index = widget.index("@%d,%d" % (x, y))
44 widget.state(['pressed'])
45 widget.pressed_index = index
48 x, y, widget = event.x, event.y, event.widget
50 if not widget.instate(['pressed']):
53 elem = widget.identify(x, y)
54 index = widget.index("@%d,%d" % (x, y))
56 if "close" in elem and widget.pressed_index == index:
[all …]
/external/python/cpython2/Demo/tkinter/guido/
DAttrDialog.py145 def __init__(self, widget): argument
146 self.widget = widget
147 Dialog.__init__(self, widget)
150 self.current = self.widget.info()
151 self.current['.class'] = self.widget.winfo_class()
152 self.current['.name'] = self.widget._w
158 apply(self.dialog.widget.pack, (),
199 def __init__(self, master, app, widget): argument
202 self.widget = widget
215 self.widget))
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py22 widget = self.create()
23 self.assertEqual(widget['class'], '')
27 self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg)
32 widget = self.create()
33 self.checkParam(widget, 'padding', 0, expected=('0',))
34 self.checkParam(widget, 'padding', 5, expected=('5',))
35 self.checkParam(widget, 'padding', (5, 6), expected=('5', '6'))
36 self.checkParam(widget, 'padding', (5, 6, 7),
38 self.checkParam(widget, 'padding', (5, 6, 7, 8),
40 self.checkParam(widget, 'padding', ('5p', '6p', '7p', '8p'))
[all …]
/external/python/cpython3/Lib/idlelib/
Dredirector.py27 def __init__(self, widget): argument
39 self.widget = widget # widget instance
40 self.tk = tk = widget.tk # widget's root
41 w = widget._w # widget's (full) Tk pathname
51 self.widget.__class__.__name__,
52 self.widget._w)
58 widget = self.widget
59 tk = widget.tk
60 w = widget._w
64 del self.widget, self.tk # Should not be needed
[all …]
Dmulticall.py74 def __init__(self, type, widget, widgetinst): argument
77 self.widget = widget
94 self.handlerid = self.widget.bind(self.widgetinst,
101 self.widget.unbind(self.widgetinst, self.sequence, self.handlerid)
107 self.widget.unbind(self.widgetinst, self.sequence,
190 def __init__(self, type, widget, widgetinst): argument
193 self.widget = widget
210 self.handlerids.append((seq, self.widget.bind(self.widgetinst,
223 self.handlerids.append((seq, self.widget.bind(self.widgetinst,
241 self.widget.unbind(self.widgetinst, seq, id)
[all …]
Dautocomplete_w.py29 def __init__(self, widget): argument
31 self.widget = widget
67 self.widget.delete("%s+%dc" % (self.startindex, i),
70 self.widget.insert("%s+%dc" % (self.startindex, i),
161 self.startindex = self.widget.index(index)
162 self.start = self.widget.get(self.startindex, "insert")
177 self.autocompletewindow = acw = Toplevel(self.widget)
208 self.hidewid = self.widget.bind(HIDE_VIRTUAL_EVENT_NAME, self.hide_event)
211 self.widget.event_add(HIDE_VIRTUAL_EVENT_NAME, seq)
213 self.keypressid = self.widget.bind(KEYPRESS_VIRTUAL_EVENT_NAME,
[all …]
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_widgets.py20 widget = self.create()
21 self.assertEqual(widget['class'], '')
25 self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg)
30 widget = self.create()
31 self.checkParam(widget, 'padding', 0, expected=('0',))
32 self.checkParam(widget, 'padding', 5, expected=('5',))
33 self.checkParam(widget, 'padding', (5, 6), expected=('5', '6'))
34 self.checkParam(widget, 'padding', (5, 6, 7),
36 self.checkParam(widget, 'padding', (5, 6, 7, 8),
38 self.checkParam(widget, 'padding', ('5p', '6p', '7p', '8p'))
[all …]
/external/autotest/client/cros/chameleon/
Daudio_widget_link.py135 def _check_widget_id(self, port_id, widget): argument
143 if widget.audio_port.port_id != port_id:
146 self.name, port_id, widget.audio_port.port_id))
198 def _plug_input(self, widget): argument
204 if widget.audio_port.host == 'Cros':
205 widget.handler.plug()
207 self._audio_bus.connect(widget.audio_port.port_id)
211 self._audio_bus.bus_index, widget.audio_port)
214 def _unplug_input(self, widget): argument
220 if widget.audio_port.host == 'Cros':
[all …]
/external/autotest/frontend/client/src/autotest/common/table/
DTableClickWidget.java11 private FocusWidget widget; field in TableClickWidget
17 public void onClick(TableClickWidget widget); in onClick() argument
20 public TableClickWidget(FocusWidget widget, TableWidgetClickListener listener, in TableClickWidget() argument
22 this.widget = widget; in TableClickWidget()
27 initWidget(widget); in TableClickWidget()
28 widget.addClickHandler(this); in TableClickWidget()
44 return widget; in getContainedWidget()
/external/google-breakpad/src/testing/gtest/xcode/Samples/FrameworkSample/
Dwidget_test.cc46 Widget widget(1.0f, "name"); in TEST() local
47 EXPECT_FLOAT_EQ(1.0f, widget.GetFloatValue()); in TEST()
48 EXPECT_EQ(std::string("name"), widget.GetStringValue()); in TEST()
54 Widget widget(1.0f, "name"); in TEST() local
55 EXPECT_EQ(1, widget.GetIntValue()); in TEST()
59 widget.GetCharPtrValue(buffer, max_size); in TEST()
/external/googletest/googletest/xcode/Samples/FrameworkSample/
Dwidget_test.cc46 Widget widget(1.0f, "name"); in TEST() local
47 EXPECT_FLOAT_EQ(1.0f, widget.GetFloatValue()); in TEST()
48 EXPECT_EQ(std::string("name"), widget.GetStringValue()); in TEST()
54 Widget widget(1.0f, "name"); in TEST() local
55 EXPECT_EQ(1, widget.GetIntValue()); in TEST()
59 widget.GetCharPtrValue(buffer, max_size); in TEST()

12345678910>>...25