Skip to content
Snippets Groups Projects
Commit 91b97ae9 authored by Jacob Wikmark's avatar Jacob Wikmark
Browse files

some comments

parent 66e9b69b
Branches
No related tags found
No related merge requests found
julia 0.6
InteractNext
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment