Nasal: expose canvas::Layout item remove and get methods.
This commit is contained in:
parent
53c0454931
commit
0fb94ba596
1 changed files with 5 additions and 1 deletions
|
@ -482,7 +482,11 @@ naRef initNasalCanvas(naRef globals, naContext c)
|
|||
|
||||
NasalLayout::init("canvas.Layout")
|
||||
.bases<NasalLayoutItem>()
|
||||
.method("addItem", &sc::Layout::addItem);
|
||||
.method("addItem", &sc::Layout::addItem)
|
||||
.method("count", &sc::Layout::count)
|
||||
.method("itemAt", &sc::Layout::itemAt)
|
||||
.method("takeAt", &sc::Layout::takeAt)
|
||||
.method("removeItem", &sc::Layout::removeItem);
|
||||
|
||||
NasalBoxLayout::init("canvas.BoxLayout")
|
||||
.bases<NasalLayout>()
|
||||
|
|
Loading…
Reference in a new issue