Py plugin development proposal

Kevin,

Should not PluginFrame be a child of wx.Frame instead of wx.pyFrame ?

Philippe

···

On Friday 5 January 2007 23:26, Kevin Ollivier wrote:

class PluginFrame(wx.py.Frame, PluginMixin):
def __init__(self, parent, blah...)

--
_________________________
Philippe C. Martin
www.snakecard.com
_________________________

Hi Philippe,

class PluginFrame(wx.py.Frame, PluginMixin):
        def __init__(self, parent, blah...)

Kevin,

Should not PluginFrame be a child of wx.Frame instead of wx.pyFrame ?

PluginFrame is just an example of how a user might use the PluginMixin in their own app. You were mentioning that you wanted to use the PyCrust frame as the base for your own app's UI, so I just made an example that showed how to add plugins to the PyCrust frame. (Without having to internally change PyCrust.) But PluginMixin would work just as well with any wx.Frame-derived class.

Regards,

Kevin

···

On Jan 9, 2007, at 5:05 AM, Philippe C. Martin wrote:

On Friday 5 January 2007 23:26, Kevin Ollivier wrote:

Philippe

--
_________________________
Philippe C. Martin
www.snakecard.com
_________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hi Kevin,

Just wanted to make sure I had some room in my approach ... I am
sometimes "bête et discipliné" => "stupid and (too) disciplined".

I'll get back with something soon.

Regards,

Philippe

···

On Tuesday 9 January 2007 23:24, Kevin Ollivier wrote:

Hi Philippe,

On Jan 9, 2007, at 5:05 AM, Philippe C. Martin wrote:
> On Friday 5 January 2007 23:26, Kevin Ollivier wrote:
>> class PluginFrame(wx.py.Frame, PluginMixin):
>> def __init__(self, parent, blah...)
>
> Kevin,
>
> Should not PluginFrame be a child of wx.Frame instead of wx.pyFrame ?

PluginFrame is just an example of how a user might use the
PluginMixin in their own app. You were mentioning that you wanted to
use the PyCrust frame as the base for your own app's UI, so I just
made an example that showed how to add plugins to the PyCrust frame.
(Without having to internally change PyCrust.) But PluginMixin would
work just as well with any wx.Frame-derived class.

Regards,

Kevin

> Philippe
>
>
>
> --
> _________________________
> Philippe C. Martin
> www.snakecard.com
> _________________________
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-
> help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

--
_________________________
Philippe C. Martin
www.snakecard.com
_________________________