|
From: | Doug Stewart |
Subject: | Re: UI element |
Date: | Wed, 18 Dec 2019 14:17:38 -0500 |
hi, i want to creare interface to input some value
i use this code:
## Create figure and panel on it
f = figure;
## Create a button (default style)
b1 = uicontrol (f, "string", "A Button", ...
"position", [10 10 150 40]);
## Create an edit control
e1 = uicontrol (f, "style", "edit", "string", "editable text", ...
"position", [10 60 300 40]);
## Create a checkbox
c1 = uicontrol (f, "style", "checkbox", "string", "a checkbox", ...
"position", [10 120 150 40]);
i want to get value input
How can i get it?
Example:
https://gyazo.com/b9c9986609e987936bd44b189a2d04f4
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |