Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
c976ead1
Commit
c976ead1
authored
Jul 13, 2016
by
Stefan Tauner
Browse files
Rename DialogBox to DialogBoxUL
parent
06fc4006
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/Tk/DialogBox.pm
→
bin/Tk/DialogBox
UL
.pm
View file @
c976ead1
...
...
@@ -3,7 +3,7 @@
# in the top frame. Widgets can be added with the add method. Currently
# there exists no way of deleting a widget once it has been added.
package
Tk::
DialogBox
;
package
Tk::
DialogBox
UL
;
use
strict
;
use
Carp
;
...
...
@@ -13,7 +13,7 @@ $VERSION = '4.016'; # was: sprintf '4.%03d', q$Revision: #13 $ =~ /\D(\d+)\s*$/;
use
base
qw(Tk::Toplevel)
;
Tk::
Widget
->
Construct
('
DialogBox
');
Tk::
Widget
->
Construct
('
DialogBox
UL
');
sub
Populate
{
my
(
$cw
,
$args
)
=
@_
;
...
...
@@ -106,7 +106,7 @@ sub Wait
sub
Show
{
croak
'
DialogBox: "Show" method requires at least 1 argument
'
croak
'
DialogBox
UL
: "Show" method requires at least 1 argument
'
if
scalar
@
_
<
1
;
my
$cw
=
shift
;
my
(
$grab
)
=
@_
;
...
...
@@ -145,7 +145,7 @@ sub SelectButton
sub
Exit
{
my
$cw
=
shift
;
#kill the
d
ialog
b
ox, by faking a 'DONE'
#kill the
D
ialog
B
ox
UL
, by faking a 'DONE'
$cw
->
{'
selected_button
'}
=
$cw
->
{'
default_button
'}
->
cget
(
-
text
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment