Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabGUI.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
processes
LabGUI.jl
Commits
91b97ae9
Commit
91b97ae9
authored
7 years ago
by
Jacob Wikmark
Browse files
Options
Downloads
Patches
Plain Diff
some comments
parent
66e9b69b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
REQUIRE
+1
-0
1 addition, 0 deletions
REQUIRE
src/gui.jl
+5
-0
5 additions, 0 deletions
src/gui.jl
with
6 additions
and
0 deletions
REQUIRE
+
1
−
0
View file @
91b97ae9
julia 0.6
InteractNext
This diff is collapsed.
Click to expand it.
src/gui.jl
+
5
−
0
View file @
91b97ae9
...
...
@@ -36,6 +36,8 @@ function Base.getindex(widget::Widget_Container, s::Symbol)
end
"""
GUI(widgets::Widget_Container, dom::WebIO.Node)
A GUI contains widgets in a widget container as well as the DOM of the UI.
Accessing a widget: gui.widgets[:foo], where foo is the symbol associated with the widget.
...
...
@@ -71,6 +73,9 @@ function (gui::GUI)()
end
"""
set!(gui::GUI, widgets::Widget_Container)
Used to set the widgets, the dom or the data array of the GUI. This replaces any existing widget or dom in the GUI.
"""
function
set!
(
gui
::
GUI
,
widgets
::
Widget_Container
)
...
...
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