Skip to content

Commit ebe36be

Browse files
committed
add documentation for dialogs
1 parent a52db69 commit ebe36be

File tree

11 files changed

+26
-0
lines changed

11 files changed

+26
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info>
3+
<Category UUID="FileClassCategory">
4+
<Label UUID="design"/>
5+
</Category>
6+
</Info>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info location="DialogsList.mlx" type="File"/>

widgets/+wt/+dialog/ListSelection.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ function setup(obj)
153153

154154
function update(obj)
155155

156+
% Call superclass method
157+
obj.update@wt.abstract.BaseInternalDialog;
158+
156159
% Configure list
157160
obj.ListBox.Items = obj.Items;
158161
obj.ListBox.ItemsData = obj.ItemsData;

widgets/+wt/+dialog/Login.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ function setup(obj)
2323
% Defaults
2424
obj.Size = [300,140];
2525

26+
% This is normally a modal dialog
27+
obj.Modal = true;
28+
2629
% Configure which actions close the dialog
2730
obj.DeleteActions = ["close","login","cancel"];
2831

widgets/doc/DialogsList.mlx

22.6 KB
Binary file not shown.

widgets/doc/GettingStarted.mlx

15 Bytes
Binary file not shown.

widgets/doc/MainPage.mlx

26 Bytes
Binary file not shown.

widgets/doc/UserGuide.mlx

28 Bytes
Binary file not shown.
754 Bytes
Binary file not shown.
-14 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)