Nowadays I am working on Mathematica software. I would like to make a user interfaced application by using GUIKit library. In my application there is two fields , one is input argument field the other one is output field. There is also one button to text input value to the output field. Unfortunetaly I couldn't get the input field value. I am attaching my script codes to here. What should I write to "?????" field ?
Needs["GUIKit`"]
ref = GUIRun[
Widget["Panel",
{Widget["Label", {"text" -> "Enter the Inputs"},
WidgetLayout -> {"Alignment" -> Center},
Name -> "mainLabel"],
{Widget["Label", {"text" -> "Temperature:"}],
WidgetAlign[],
Widget["TextField", {"columns" -> 20 },Name->"temparg"],
WidgetAlign[],
Widget["Label", {"text" -> "K"}]},
{Widget["Label", {"text" -> "Value:"},
WidgetLayout-> {"Alignment" -> Left}],
WidgetAlign[],
Widget["TextField",{"preferredSize"->Widget["Dimension",{"width"->150,"height"->20}],"editable"->False},
WidgetLayout->{"Alignment"->Right},
Name -> "get"]},
{WidgetAlign[],
Widget["Button", {
"text" -> "Get Results",
BindEvent["Action",Script[SetPropertyValue[{"get","text"},??????]
]]
},
WidgetLayout-> {"Alignment" -> Right}]
}
}
]]