Sto
Should i code today ...
i try to make a popup with some listbox , edit box , etc ....
I've just made a little popup with an edit box and a python button that should call a function to make a test :
i've added popup_Function to CvPopupInterface.py :
But i can't achieve to retrieve the values from the edit box . I've tried a lot of thing but without success . When i click on the button , i get nothing : no bug , nothing in the pythonlog file .
Did someone succeed (or not) in retrieving values from this kind of popups ? or can help me ?
help
Tcho !
I've just made a little popup with an edit box and a python button that should call a function to make a test :
Code:
popup = CyPopup(0,EventContextTypes.NO_EVENTCONTEXT,True)
popup.setHeaderString("Popup test", CvUtil.FONT_CENTER_JUSTIFY)
popup.createPythonEditBox( "editbox1" ,"info 1", 0 )
popup.createPythonEditBox( "editbox2" ,"info 2", 1 )
popup.addPythonButton( "popup_Function", "launch", "info", "", -1, -1, True )
popup.launch(False, PopupStates.POPUPSTATE_IMMEDIATE)
i've added popup_Function to CvPopupInterface.py :
Code:
def popup_Function(argsList):
print " working ?"
But i can't achieve to retrieve the values from the edit box . I've tried a lot of thing but without success . When i click on the button , i get nothing : no bug , nothing in the pythonlog file .
Did someone succeed (or not) in retrieving values from this kind of popups ? or can help me ?
help
Tcho !