While printing the doc of “AddSimpleTool” function, it says “Old method of adding…”. Why? What’s new one? Is it going to be deprecated?
Next, How do I align label/tool on a toolbar on the right side of it. I mean by default it adds from left to right in order of creation, but few of them I would
like to add on the right side of it.
While printing the doc of "AddSimpleTool" function, it says "Old method of adding...". Why? What's new one? Is it going to be deprecated?
Next, How do I align label/tool on a toolbar on the right side of it. I mean by default it adds from left to right in order of creation, but few of them I would
like to add on the right side of it.
The latest Demo still uses the AddSimpleTool() API, so I wouldn't get too worried...yet. The docs have lots of Add methods, most of which seem to be for explicit widgets. I think AddLabelTool might be the replacement since the docs call it "The full AddTool() function":
While printing the doc of "AddSimpleTool" function, it says "Old method of adding...". Why? What's new one?
The methods with "Label" in the name, but "new" and "old" are relative terms. I think the new Label versions of the methods were added way back in 2.3 or something like that.
Is it going to be deprecated?
No, it's just a thin wrapper around DoAddTool so it doesn't cost much to keep it.
Next, How do I align label/tool on a toolbar on the right side of it. I mean by default it adds from left to right in order of creation, but few of them I would
like to add on the right side of it.
Unfortunately wx doesn't have support for that in the toolbar API yet.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!