Updated

Cheers,
Zeljko



def onAction( self, action ):
    if ( action.getButtonCode() in CANCEL_DIALOG):
        self.exit_script()

catches all the action,e.g, if you were to remove "self.exit_script()" you couldnt close the script. you can define other actions in there as well. let us know what you are trying to achieve and maybe we can help




On Mon, Oct 18, 2010 at 1:29 AM, Libor Zoubek <lzoubek@jezzovo.net> wrote:
addon - script.mpdc
version - 0.9.7
url - git://github.com/lzoubek/xbmc-plugin-mpdc.git
revision - HEAD
branch - master

xbmc version - dharma beta, eden-pre

btw

How does xbmcgui.WindowXMLDialog onAction work? Am I able to catch action
(for example STOP), handle it and not to pass it on to XBMC?

How do <include> in addon skins work? Am I able to include something from
current scheme? Or define my own includes?
I am asking, because Transparency! has nice animations when focusing list
items and buttons and I'd like script.mpdc to look similar.

thanks,

Libor

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons