2011-04-20, 17:46
I've been following the Python scripting tutorial but I'm struggling with an issue:
I want a pop up box indicating that input is required (along the lines of pressing "Stop" to abort script).
I can't seem to capture the keypress with onAction with a Dialog box, but xbmcgui.Window seems to be full screen, which is way more than what I need.
So, is there any way to define the size of the window displayed by xbmgui.Window? or if not, is it possible to catch keypresses with a dialog box (the yes/no box is not an option here by the way).
Thanks.
I want a pop up box indicating that input is required (along the lines of pressing "Stop" to abort script).
I can't seem to capture the keypress with onAction with a Dialog box, but xbmcgui.Window seems to be full screen, which is way more than what I need.
So, is there any way to define the size of the window displayed by xbmgui.Window? or if not, is it possible to catch keypresses with a dialog box (the yes/no box is not an option here by the way).
Thanks.