Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
f38439f4
Commit
f38439f4
authored
8 years ago
by
Glenn Glazer
Browse files
Options
Downloads
Patches
Plain Diff
SL-407: post review change testing
parent
dd18fb21
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/viewer_components/manager/InstallerUserMessage.py
+3
-3
3 additions, 3 deletions
indra/viewer_components/manager/InstallerUserMessage.py
with
3 additions
and
3 deletions
indra/viewer_components/manager/InstallerUserMessage.py
+
3
−
3
View file @
f38439f4
...
@@ -121,7 +121,7 @@ def auto_resize(self, row_count = 0, column_count = 0, heavy_row = None, heavy_c
...
@@ -121,7 +121,7 @@ def auto_resize(self, row_count = 0, column_count = 0, heavy_row = None, heavy_c
else
:
else
:
self
.
rowconfigure
(
x
,
weight
=
1
)
self
.
rowconfigure
(
x
,
weight
=
1
)
def
basic_message
(
self
,
message
,
icon_name
=
None
):
def
basic_message
(
self
,
message
):
#message: text to be displayed
#message: text to be displayed
#icon_path: directory holding the icon, defaults to icons subdir of script dir
#icon_path: directory holding the icon, defaults to icons subdir of script dir
#icon_name: filename of icon to be displayed
#icon_name: filename of icon to be displayed
...
@@ -148,9 +148,9 @@ def binary_choice_message(self, message, true = 'Yes', false = 'No'):
...
@@ -148,9 +148,9 @@ def binary_choice_message(self, message, true = 'Yes', false = 'No'):
self
.
text_label
=
tk
.
Label
(
text
=
message
)
self
.
text_label
=
tk
.
Label
(
text
=
message
)
#command registers the callback to the method named. We want the frame to go away once clicked.
#command registers the callback to the method named. We want the frame to go away once clicked.
#button 1 returns True/1, button 2 returns False/0
#button 1 returns True/1, button 2 returns False/0
self
.
button_one
=
ttk
.
Radiobutton
(
text
=
on
e
,
variable
=
self
.
choice
,
value
=
True
,
self
.
button_one
=
ttk
.
Radiobutton
(
text
=
tru
e
,
variable
=
self
.
choice
,
value
=
True
,
command
=
self
.
_delete_window
,
style
=
'
Linden.TButton
'
)
command
=
self
.
_delete_window
,
style
=
'
Linden.TButton
'
)
self
.
button_two
=
ttk
.
Radiobutton
(
text
=
two
,
variable
=
self
.
choice
,
value
=
False
,
self
.
button_two
=
ttk
.
Radiobutton
(
text
=
false
,
variable
=
self
.
choice
,
value
=
False
,
command
=
self
.
_delete_window
,
style
=
'
Linden.TButton
'
)
command
=
self
.
_delete_window
,
style
=
'
Linden.TButton
'
)
self
.
set_colors
(
self
.
text_label
)
self
.
set_colors
(
self
.
text_label
)
self
.
set_colors
(
self
.
image_label
)
self
.
set_colors
(
self
.
image_label
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment