| Newsgroups |
gmane.comp.python.wxpython.devel |
| Message-ID |
<[email protected]> |
Hello,
I work on W10 with py 3.5 and Phoenix 3.0.3 build 1964
First)
If I use 'ToolBar.AddTool (self, toolId, label, bitmap, shortHelp=””,
kind=ITEM_NORMAL)’
It runs well
But if I use ‘ToolBar.AddTool (self, toolId, label, bitmap, bmpDisabled,
kind=ITEM_NORMAL, shortHelpString=””, longHelpString=””, clientData=None)’
like in doc
I have a traceback :
TypeError: ToolBar.AddTool(): arguments did not match any overloaded call:
overload 1: 'kind' is not a valid keyword argument
overload 2: 'shortHelpString' is not a valid keyword argument
overload 3: 'kind' is not a valid keyword argument
Second)
If I use wx.html.H .SetPage() and wx.wxpTag
With Arg
'''<p>
<wxp module="wx" class="StaticText">
<param name="label" value=" ">
<param name="id" value="%d">
<param name="size" value="(352, 20)">
</wxp>’’’
It runs well
But with
'''<p>
<wxp module="wx" class="StaticText">
<param name="label" value=" ">
<param name="id" value="%d">
<param name="size" value="(352, 20)">
<param name="style" value="wx.ALIGN_CENTER | wx.CLIP_CHILDREN |
wx.ST_NO_AUTORESIZE">
</wxp>’’’Traceback is :
TypeError: StaticText(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 'style' has unexpected type 'str'
Third)
Methods have ‘im_func’ attribute in wxPython (classic), so
Do you know why methods in Phoenix (for py 3) have no ‘__func__’
attribute ?
Regards
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.