Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5800

Eto for Python

$
0
0

@onlyforpeace wrote:

Hello,
now i would like to use Eto for interface my python script.
I would like to display a text in a textbox, that i can change to return it in a “user document text”.
for example, a script calculates the area of a surface and places it in a userdocument text,
with eto i display a window with a text box where is display the value, i can change it manualy, and validate, and return the new value in the User doc text… for the window, the button, the text box, it’s ok, but the value in the text box… no!
I was thinking that a textbox1 = forms.TextBox(self.Args.Area) will be ok, but no argument is accepted by textbox, what is the way…

in fact i use:textbox1 = forms.TextBox(SelectedText=self.Args.Area)

Posts: 8

Participants: 5

Read full topic


Viewing all articles
Browse latest Browse all 5800