Home
last modified time | relevance | path

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

12345678910>>...27

/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/
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/angle/src/libANGLE/
DOverlay_autogen.cpp37 PerSecond *widget = new PerSecond; in initOverlayWidgets() local
45 widget->type = WidgetType::PerSecond; in initOverlayWidgets()
46 widget->fontSize = fontSize; in initOverlayWidgets()
47 widget->coords[0] = offsetX; in initOverlayWidgets()
48 widget->coords[1] = offsetY; in initOverlayWidgets()
49 widget->coords[2] = offsetX + width; in initOverlayWidgets()
50 widget->coords[3] = offsetY + height; in initOverlayWidgets()
51 widget->color[0] = 0.498039215686; in initOverlayWidgets()
52 widget->color[1] = 0.749019607843; in initOverlayWidgets()
53 widget->color[2] = 1.0; in initOverlayWidgets()
[all …]
Dgen_overlay_widgets.py151 def get_offset_helper(widget, axis, smaller_coord_side): argument
167 coord = widget.coords[axis]
184 def get_offset_x(widget): argument
185 return get_offset_helper(widget, 0, 'left')
188 def get_offset_y(widget): argument
189 return get_offset_helper(widget, 1, 'top')
211 def generate_widget_init_helper(widget, is_graph_description=False): argument
215 color = [channel / 255.0 for channel in widget.color]
216 offset_x, offset_x_is_left = get_offset_x(widget)
217 offset_y, offset_y_is_top = get_offset_y(widget)
[all …]
DOverlayWidgets.cpp173 using AppendWidgetDataFunc = void (*)(const overlay::Widget *widget,
188 static void AppendFPS(const overlay::Widget *widget,
193 static void AppendVulkanLastValidationMessage(const overlay::Widget *widget,
198 static void AppendVulkanValidationMessageCount(const overlay::Widget *widget,
203 static void AppendVulkanCommandGraphSize(const overlay::Widget *widget,
208 static void AppendVulkanRenderPassCount(const overlay::Widget *widget,
213 static void AppendVulkanSecondaryCommandBufferPoolWaste(const overlay::Widget *widget,
226 static void AppendTextCommon(const overlay::Widget *widget,
232 static void AppendGraphCommon(const overlay::Widget *widget,
241 void AppendWidgetDataHelper::AppendTextCommon(const overlay::Widget *widget, in AppendTextCommon() argument
[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/tradefed_utils_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/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 …]
/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/ImageMagick/MagickCore/
Dwidget.c1328 if (event->xany.window == windows->widget.id) in XScreenEvent()
1331 windows->widget.mapped=MagickTrue; in XScreenEvent()
1333 windows->widget.mapped=MagickFalse; in XScreenEvent()
1714 font_info=windows->widget.font_info; in XColorBrowserWidget()
1735 windows->widget.width=(unsigned int) in XColorBrowserWidget()
1737 windows->widget.min_width=(unsigned int) in XColorBrowserWidget()
1739 if (windows->widget.width < windows->widget.min_width) in XColorBrowserWidget()
1740 windows->widget.width=windows->widget.min_width; in XColorBrowserWidget()
1741 windows->widget.height=(unsigned int) in XColorBrowserWidget()
1743 windows->widget.min_height=(unsigned int) in XColorBrowserWidget()
[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/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 …]
/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/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/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/pdfium/xfa/fxfa/
Dcxfa_ffwidgethandler.cpp150 WideString CXFA_FFWidgetHandler::GetText(CXFA_FFWidget* widget) { in GetText() argument
151 return widget->GetText(); in GetText()
154 WideString CXFA_FFWidgetHandler::GetSelectedText(CXFA_FFWidget* widget) { in GetSelectedText() argument
155 if (!widget->CanCopy()) in GetSelectedText()
158 return widget->Copy().value_or(WideString()); in GetSelectedText()
161 void CXFA_FFWidgetHandler::PasteText(CXFA_FFWidget* widget, in PasteText() argument
163 if (!widget->CanPaste()) in PasteText()
166 widget->Paste(text); in PasteText()
169 bool CXFA_FFWidgetHandler::CanUndo(CXFA_FFWidget* widget) { in CanUndo() argument
170 return widget->CanUndo(); in CanUndo()
[all …]
/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()

12345678910>>...27