Home
last modified time | relevance | path

Searched +refs:widget +refs:eval (Results 1 – 25 of 1756) sorted by relevance

12345678910>>...71

/dports/x11-toolkits/p5-Tk-Contrib/Tk-Contrib-0.07/t/
H A D00basic.t7 eval { require Test; };
21 ## Almost all widget classes: load module, create, pack, and
38 eval { require Tk; };
53 eval "require Tk::$class;";
57 ok($@, "", "can't create $class widget");
74 ok ($@, "", "Can't Popup a $class widget")
80 ok ($@, "", "Can't pack a $class widget")
82 eval { $mw->update; };
87 eval { $mw->update; };
90 eval { $w->destroy; };
[all …]
/dports/x11-toolkits/p5-Tk-GBARR/Tk-GBARR-2.08/t/
H A D0basic.t6 eval { require Test; };
18 ## Test all widget classes: load module, create, pack, and
40 if (!eval {
58 eval "require Tk::$class;";
62 ok($@, "", "can't create $class widget");
79 ok ($@, "", "Can't Popup a $class widget")
85 ok ($@, "", "Can't pack a $class widget")
87 eval { $mw->update; };
92 eval { $mw->update; };
95 eval { $w->destroy; };
[all …]
/dports/x11-toolkits/p5-Tk-TableMatrix/Tk-TableMatrix-1.26/t/
H A Dcreate.t6 ## Almost all widget classes: load module, create, pack, and
33 eval { require Tk; };
48 eval "require Tk::$class;";
72 eval { $w->Popup; };
73 ok ($@, "", "Can't Popup a $class widget")
78 eval { $w->pack; };
79 ok ($@, "", "Can't pack a $class widget")
81 eval { $mw->update; };
92 eval { $mw->update; };
95 eval { $w->destroy; };
[all …]
/dports/textproc/p5-Tk-Pod/Tk-Pod-0.9943/t/
H A Dbasic.t6 eval { require Test; };
19 ## Test all widget classes: load module, create, pack, and
74 eval qq{ require $module; };
79 eval "require Tk::$class;";
84 ok($@, "", "can't create $class widget");
101 ok ($@, "", "Can't Popup a $class widget")
107 ok ($@, "", "Can't pack a $class widget")
109 eval { $mw->update; };
110 ok ($@, "", "Error during 'update' for $class widget");
118 eval { $mw->update; };
[all …]
/dports/x11-toolkits/p5-Tk/Tk-804.035/t/
H A Dcreate.t12 ## Almost all widget classes: load module, create, pack, and
98 eval { require Tk; };
116 eval "require Tk::$class;";
125 is($@, "", "Can create $class widget");
146 is ($@, "", "Can Popup a $class widget")
152 is ($@, "", "Can pack a $class widget")
156 is ($@, "", "No error during 'update' for $class widget");
191 is ($@, "", "'update' after configure for $class widget");
195 is($@, "", "can destroy $class widget");
196 ok(!Tk::Exists($w), "$class: widget is really destroyed");
[all …]
H A Dgeomgr.t28 eval { $b->$method(); };
29 ok ($@, '', "Fatal!. Even managing one widget with $mgr failed");
30 eval { $mw->update; };
31 ok ($@, '', "Uh. Idletask problem after $mgr widget");
35 ok ($@, '', "Fatal!. Even info on one widget failed with $mgr");
39 ok ($@, '', "Fatal!. Even unmanage one widget failed with $mgr");
40 eval { $mw->update; };
45 eval { $mw->update; };
46 ok ($@, '', "Uh. Idletask problem on destroy widget");
55 eval { $b1->grid($b2); };
[all …]
H A DzzText.t14 eval { require Tk::Text; };
16 eval { $text = $mw->Text(); };
17 ok($@, "", 'Problem creating Text widget');
19 eval { $text->grid; };
38 ok( ($normal->manager), 'text', "\$normal=$normal not managed by text widget");
39 ok( ($scroll->manager), 'text', "\$scroll=$scroll not managed by text widget");
46 ## and not a widget ref.
57 ok($@ , "", "error create widget for later windowCreate: $@");
70 # eval { $text->update; };
94 ## Dump -window returned pathname instead of widget ref. E.g.
[all …]
H A Dmega.t25 eval <<'EOTEST';
41 ok ($@, '', "Can't define widget to test Component()");
42 eval { $mw->update; };
43 ok ($@, '', "Idletask problem of define widget to test Component()");
46 eval { $test = $mw->testComponent; };
47 ok ($@, '', "Can't create testCompoment widget");
48 eval { $mw->update; };
52 eval { $subw = $test->Subwidget('b1'); };
59 eval { $test->destroy; };
60 ok($@, '', "problem destroying testComponent widget");
[all …]
H A Dballoon.t6 if (!eval q{
28 eval { require Tk::Balloon; };
30 eval { $balloon = $mw->Balloon; };
31 is($@, "", 'Creating Balloon widget');
35 eval { $balloon->attach($l, -msg => "test"); };
36 is($@, "", 'Attaching message to Label widget');
38 is($@, "", 'Attaching statusmsg/baloonmsg to Label widget');
43 eval { $balloon->attach($c, -msg => {$ci => "test"}); };
62 eval { $balloon->attach($filemenu_menu,
68 eval { $balloon->configure(-motioncommand => undef); };
[all …]
/dports/science/gramps/gramps-5.1.4/gramps/plugins/importer/
H A Dimportprogen.py472 set_import = eval('self.imp_values.%s.set_value' % obj)
473 get_import = eval('self.imp_values.%s.get_value' % obj)
478 set_import = eval('self.imp_values.%s.set_entry' % obj)
479 get_import = eval('self.imp_values.%s.get_entry' % obj)
493 get_import = eval('self.imp_values.source_priv')
497 get_import = eval('self.imp_values.citation_priv')
504 set_import = eval('self.default_values.%s.set_entry' % obj)
505 get_import = eval('self.default_values.%s.get_entry' % obj)
540 set_import = eval("self.primobj_values['%s'].set_value" % obj)
549 set_import = eval("self.option_values['%s'].set_value" % obj)
[all …]
/dports/x11-wm/qtile/qtile-0.18.1/test/widgets/
H A Dtest_moc.py29 from libqtile.widget import moc
102 widget = moc.Moc()
104 monkeypatch.setattr(widget, "call_process", MockMocpProcess.run)
106 fakebar = Bar([widget], 24)
111 widget._configure(fake_qtile, fakebar)
112 return widget
169 info = manager_nospawn.c.widget["moc"].info
174 manager_nospawn.c.widget["moc"].eval("self.update(self.poll())")
180 manager_nospawn.c.widget["moc"].eval("self.update(self.poll())")
185 manager_nospawn.c.widget["moc"].eval("self.update(self.poll())")
[all …]
H A Dtest_cmus.py153 text = widget.poll()
155 assert widget.layout.colour == widget.play_color
157 widget.play()
158 text = widget.poll()
160 assert widget.layout.colour == widget.noplay_color
178 assert widget.layout.colour == widget.noplay_color
180 widget.play()
183 assert widget.layout.colour == widget.play_color
203 cmuswidget.eval("self.update(self.poll())")
209 cmuswidget.eval("self.update(self.poll())")
[all …]
/dports/x11-toolkits/tix/Tix8.4.3/tests/
H A Dnamesp.test56 namespace eval ::myNameSpace {
69 namespace eval ::myNameSpace {
82 namespace eval ::myNameSpace {
95 namespace eval ::myNameSpace {
108 namespace eval ::myNameSpace {
118 namespace eval ::myNameSpace {
128 namespace eval ::myNameSpace {
138 namespace eval ::myNameSpace {
146 test namesp-2.1.1 {invalid widget name} {
154 test namesp-2.2 {invalid widget name} {
[all …]
/dports/shells/ksh93/ast-93u/src/lib/libtksh/desksh/lib/
H A Dgenerate22 eval \"\$@\"
53 [[ $childvars != "" ]] && eval typeset $childvars
55 eval typeset thesevars=\"${myformat.vars}\"
65 eval typeset $thesevars
127 eval typeset expr=\"${myformat.sets}\"
129 eval $expr
137 eval typeset expr=\"${myformat.s}\"
139 eval $expr
167 eval argarray[${#argarray[@]}]\=\"$thisopt\"
334 for widget in $widgets
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtksh/desksh/lib/
H A Dgenerate22 eval \"\$@\"
53 [[ $childvars != "" ]] && eval typeset $childvars
55 eval typeset thesevars=\"${myformat.vars}\"
65 eval typeset $thesevars
127 eval typeset expr=\"${myformat.sets}\"
129 eval $expr
137 eval typeset expr=\"${myformat.s}\"
139 eval $expr
167 eval argarray[${#argarray[@]}]\=\"$thisopt\"
334 for widget in $widgets
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtksh/desksh/lib/
H A Dgenerate22 eval \"\$@\"
53 [[ $childvars != "" ]] && eval typeset $childvars
55 eval typeset thesevars=\"${myformat.vars}\"
65 eval typeset $thesevars
127 eval typeset expr=\"${myformat.sets}\"
129 eval $expr
137 eval typeset expr=\"${myformat.s}\"
139 eval $expr
167 eval argarray[${#argarray[@]}]\=\"$thisopt\"
334 for widget in $widgets
[all …]
/dports/shells/zsh-autosuggestions/zsh-autosuggestions-0.7.0/src/
H A Dbind.zsh11 # Bind a single widget to an autosuggest widget, saving a reference to the original widget
15 local widget=$1
31 zle -N $prefix$bind_count-$widget ${widgets[$widget]#*:}
34 # Built-in widget
37 eval "_zsh_autosuggest_orig_${(q)widget}() { zle .${(q)widget} }"
38 zle -N $prefix$bind_count-$widget _zsh_autosuggest_orig_$widget
41 # Completion widget
44 eval "zle -C $prefix$bind_count-${(q)widget} ${${(s.:.)widgets[$widget]}[2,3]}"
54 eval "_zsh_autosuggest_bound_${bind_count}_${(q)widget}() {
59 zle -N -- $widget _zsh_autosuggest_bound_${bind_count}_$widget
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/widgets/
H A Dspw-utilities.cpp162 …tk::Widget* sp_traverse_widget_tree(Gtk::Widget* widget, const std::function<bool (Gtk::Widget*)>&… in sp_traverse_widget_tree() argument
163 if (!widget) return nullptr; in sp_traverse_widget_tree()
165 if (eval(widget)) return widget; in sp_traverse_widget_tree()
167 if (auto bin = dynamic_cast<Gtk::Bin*>(widget)) { in sp_traverse_widget_tree()
168 return sp_traverse_widget_tree(bin->get_child(), eval); in sp_traverse_widget_tree()
170 else if (auto container = dynamic_cast<Gtk::Container*>(widget)) { in sp_traverse_widget_tree()
173 if (auto found = sp_traverse_widget_tree(child, eval)) { in sp_traverse_widget_tree()
189 Gtk::Widget* sp_find_focusable_widget(Gtk::Widget* widget) { in sp_find_focusable_widget() argument
190 return sp_traverse_widget_tree(widget, [](Gtk::Widget* w) { return w->get_can_focus(); }); in sp_find_focusable_widget()
/dports/japanese/skkinput3/skkinput-3.0.6/skk10/
H A Dcustom.el61 (eval (car (get symbol 'saved-value)))
62 (eval value)))))
74 (eval (car (get symbol 'saved-value)))
75 (eval value)))))
92 (eval value)))))
109 (set-default symbol (eval value)))))
263 (defun custom-add-to-group (group option widget)
269 (setcar (cdr old) widget)
314 (defun custom-add-link (symbol widget)
317 (unless (member widget links)
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/ui/widget/
H A Dspinbutton.cpp36 …Inkscape::Util::ExpressionEvaluator eval = Inkscape::Util::ExpressionEvaluator(get_text().c_str(),… in on_input() local
37 result = eval.evaluate(); in on_input()
43 …Inkscape::Util::ExpressionEvaluator eval = Inkscape::Util::ExpressionEvaluator(get_text().c_str(),… in on_input() local
44 result = eval.evaluate(); in on_input()
106 Gtk::Widget *widget = _defocus_widget ? _defocus_widget : get_scrollable_ancestor(this); in defocus() local
107 if (widget) { in defocus()
108 widget->grab_focus(); in defocus()
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Plugins/Widkit/Misc/
H A Drefresh_widget.cpp16 widget make_menu_widget (object wid);
27 widget cur;
28 hashmap<object,widget> cache;
38 curobj (false), cur (), cache (widget ()) { in refresh_widget_rep()
50 eval ("(lazy-initialize-force)"); in recompute()
52 object xwid= call ("menu-expand", eval (s)); in recompute()
65 object uwid= eval (s); in recompute()
100 widget cur;
121 eval ("(lazy-initialize-force)"); in recompute()
/dports/lang/python27/Python-2.7.18/Demo/tkinter/ttk/
H A Dwidget_state.py10 def reset_state(widget): argument
12 widget.state(nostate)
23 fsize = str(self.tk.eval("font configure %s -size" % btn_font))
24 self.font_family = self.tk.eval("font configure %s -family" % btn_font)
39 def _new_state(self, widget, newtext): argument
40 widget = self.nametowidget(widget)
55 for widget in self.update_widgets:
56 reset_state(widget) # remove any previous state from the widget
57 widget.state(goodstates)
/dports/lang/python-legacy/Python-2.7.18/Demo/tkinter/ttk/
H A Dwidget_state.py10 def reset_state(widget): argument
12 widget.state(nostate)
23 fsize = str(self.tk.eval("font configure %s -size" % btn_font))
24 self.font_family = self.tk.eval("font configure %s -family" % btn_font)
39 def _new_state(self, widget, newtext): argument
40 widget = self.nametowidget(widget)
55 for widget in self.update_widgets:
56 reset_state(widget) # remove any previous state from the widget
57 widget.state(goodstates)
/dports/math/R/R-4.1.2/src/library/tcltk/man/
H A DTkWidgetcmds.Rd108 tkadd(widget, ...)
110 tkbbox(widget, ...)
113 tkcget(widget, ...)
125 tkdtag(widget, ...)
126 tkdump(widget, ...)
132 tkget(widget, ...)
160 tksee(widget, ...)
171 tkset(widget, ...)
201 \item{widget}{The widget this applies to}
225 eval.txt <- function() eval(str2lang(tclvalue(tkget(txt.w, "0.0", "end"))))
[all …]
/dports/math/libRmath/R-4.1.1/src/library/tcltk/man/
H A DTkWidgetcmds.Rd108 tkadd(widget, ...)
110 tkbbox(widget, ...)
113 tkcget(widget, ...)
125 tkdtag(widget, ...)
126 tkdump(widget, ...)
132 tkget(widget, ...)
160 tksee(widget, ...)
171 tkset(widget, ...)
201 \item{widget}{The widget this applies to}
225 eval.txt <- function() eval(str2lang(tclvalue(tkget(txt.w, "0.0", "end"))))
[all …]

12345678910>>...71