Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pyMKcam
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
pyMKcam
Commits
5349524f
Commit
5349524f
authored
Jun 22, 2012
by
Lars Kruse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replaced gtk-specific code with a generic call
parent
f6e8c3ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
ParameterGroupManager.py
pycam/Plugins/ParameterGroupManager.py
+1
-6
No files found.
pycam/Plugins/ParameterGroupManager.py
View file @
5349524f
...
@@ -77,12 +77,7 @@ class ParameterGroupManager(pycam.Plugins.PluginBase):
...
@@ -77,12 +77,7 @@ class ParameterGroupManager(pycam.Plugins.PluginBase):
else
:
else
:
active_parameters
=
[]
active_parameters
=
[]
for
param
in
group
[
"parameters"
]
.
values
():
for
param
in
group
[
"parameters"
]
.
values
():
widget
=
param
[
"control"
]
.
get_widget
()
param
[
"control"
]
.
set_visible
(
param
[
"name"
]
in
active_parameters
)
# TODO: this is gtk-specific (show/hide)
if
param
[
"name"
]
in
active_parameters
:
widget
.
show
()
else
:
widget
.
hide
()
def
register_parameter_set
(
self
,
group_name
,
name
,
label
,
func
,
def
register_parameter_set
(
self
,
group_name
,
name
,
label
,
func
,
parameters
=
None
,
weight
=
100
):
parameters
=
None
,
weight
=
100
):
...
...
Write
Preview
Markdown
is supported
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