From 91b97ae9ddae9dc035ee6aff2a23e13d281793b8 Mon Sep 17 00:00:00 2001 From: jwikmark <jacob@wikmark.se> Date: Tue, 13 Mar 2018 09:49:18 +0100 Subject: [PATCH] some comments --- REQUIRE | 1 + src/gui.jl | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/REQUIRE b/REQUIRE index 137767a..4b24246 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1 +1,2 @@ julia 0.6 +InteractNext diff --git a/src/gui.jl b/src/gui.jl index 481a90e..e0e2acb 100644 --- a/src/gui.jl +++ b/src/gui.jl @@ -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) -- GitLab