In some demo-code I see calls of
"ScrolledPanel.SetAutoLayout()"
but I can not find a documentation about it.
Using: 3.0.3.dev1784+18750f4 gtk2 (phoenix)
In some demo-code I see calls of
"ScrolledPanel.SetAutoLayout()"
but I can not find a documentation about it.
Using: 3.0.3.dev1784+18750f4 gtk2 (phoenix)
it is an inherited method from wx.Window.
Werner
On 4/6/2015 1:40, c.buhtz@posteo.jp wrote:
In some demo-code I see calls of
"ScrolledPanel.SetAutoLayout()"
It was just a bug report.
On 2015-04-06 09:26 Werner <wernerfbd@gmx.ch> wrote:
it is an inherited method from wx.Window.
It’s not a bug though. Most of the widgets in wxPython inherit from other widgets, so you will need to know how to navigate up (or down) the inheritance tree to find all the methods. Here’s a link to the wx.Window documentation:
http://www.wxpython.org/docs/api/wx.Window-class.html
On Monday, April 6, 2015 at 7:50:44 AM UTC-5, c.b…@posteo.jp wrote:
On 2015-04-06 09:26 Werner wern...@gmx.ch wrote:
it is an inherited method from wx.Window.
It was just a bug report.
Sorry, I forgot to say that I use wxPhoenix. Never used classic.
But btw: Your link show another doc-BUG. There is a list of classes
which inherit from wxWindow. But ScrolledPanel isn't there.
Of course it is in a sub-modul, etc But this shouldn't be the reason.
When there is such a list I expect all(!) classes from the toolkit - no
mater in which sub-module they are located. You see?
<wxPython API Documentation — wxPython Phoenix 4.2.2 documentation;
Looks nice because SetAutoLayout() isn't there.
But back to the doc-BUG with I opend this thread:
- the ScrolledPanel-Page doesn't tell me about that this methode is
inhertied from wxWindow
- there is no link to the base class wxWindow
- there is no description about the difference between this methode and
the methode from the base class
This is a bug.
btw: Are you able to modify the docs?
On 2015-04-07 06:27 Mike Driscoll <kyosohma@gmail.com> wrote:
wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
That links to classic 2.8 docs which are rather old.
If you are using Phoenix, then reference the new docs found here:
http://wxpython.org/Phoenix/docs/html/main.html
The new docs are easily maintainable compared to the old docs which are not, and probably will never get updated because of the amount of work involved.
On Tuesday, April 7, 2015 at 6:35:29 PM UTC-5, c.b…@posteo.jp wrote:
On 2015-04-07 06:27 Mike Driscoll kyos...@gmail.com wrote:
Sorry, I forgot to say that I use wxPhoenix. Never used classic.
But btw: Your link show another doc-BUG. There is a list of classes
which inherit from wxWindow. But ScrolledPanel isn’t there.
Of course it is in a sub-modul, etc But this shouldn’t be the reason.
When there is such a list I expect all(!) classes from the toolkit - no
mater in which sub-module they are located. You see?
<http://www.wxpython.org/docs/api/wx.lib.scrolledpanel.ScrolledPanel-class.html>
Looks nice because SetAutoLayout() isn’t there.
But back to the doc-BUG with I opend this thread:
the ScrolledPanel-Page doesn’t tell me about that this methode is
inhertied from wxWindow
there is no link to the base class wxWindow
there is no description about the difference between this methode and
the methode from the base class
This is a bug.
btw: Are you able to modify the docs?
Maybe I should find more clear words in the future.
I told I am using Phoenix and that (for me) implicites the fact that I
am using the docu of Phoenix.
And the bug I described depends on the Phoenix-doc.
On 2015-04-07 18:47 Metallicow <metaliobovinus@gmail.com> wrote:
If you are using Phoenix, then reference the new docs found here:
Redirecting...
wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
Sorry, I forgot to say that I use wxPhoenix. Never used classic.
But btw: Your link show another doc-BUG. There is a list of classes
which inherit from wxWindow. But ScrolledPanel isn't there.
Of course it is in a sub-modul, etc But this shouldn't be the reason.
When there is such a list I expect all(!) classes from the toolkit - no
mater in which sub-module they are located. You see?<wxPython API Documentation — wxPython Phoenix 4.2.2 documentation;
Looks nice because SetAutoLayout() isn't there.
I believe classic doc's will not be updated enhanced, as it is too much work and there is no one wanting to do it.
But back to the doc-BUG with I opend this thread:
- the ScrolledPanel-Page doesn't tell me about that this methode is
inhertied from wxWindow
- there is no link to the base class wxWindow
- there is no description about the difference between this methode and
the methode from the base classThis is a bug.
There is no bug here, sorry.
http://wxpython.org/Phoenix/docs/html/lib.scrolledpanel.ScrolledPanel.html#lib-scrolledpanel-scrolledpanel
There is the inheritance tree and then there is the 'Known Superclasses' section, if you follow either of them you get to wx.Window which contains the method you are looking for.
btw: Are you able to modify the docs?
You can do a PR for changes to the docs too, especially everything in wx.lib, all the base class documentation is coming from wxWidgets, I believe you can now do a PR for that too, but not sure.
For the wx.lib doc please review:
http://wxpython.org/Phoenix/docs/html/DocstringsGuidelines.html
Werner
On 4/8/2015 1:35, c.buhtz@posteo.jp wrote:
On 2015-04-07 06:27 Mike Driscoll <kyosohma@gmail.com> wrote:
Mike Driscoll wrote:
> it is an inherited method from wx.Window.
It was just a bug report.
It's not a bug though. Most of the widgets in wxPython inherit from
other widgets, so you will need to know how to navigate up (or down) the
inheritance tree to find all the methods. Here's a link to the wx.Window
documentation:wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
Also, strictly speaking, calling SetAutoLayout is not needed at all unless SetAutoLayout(False) has been called sometime since the sizer was assigned to the window. Calling SetSizer will automatically set the autolayout flag as well. I'll remove that line from the example.
On Monday, April 6, 2015 at 7:50:44 AM UTC-5, c.b...@posteo.jp wrote:
On 2015-04-06 09:26 Werner <wern...@gmx.ch <javascript:>> wrote:
--
Robin Dunn
Software Craftsman
My fault. I missinterpreted your "inherited".
I thought "overloaded".
On 2015-04-06 09:26 Werner <wernerfbd@gmx.ch> wrote:
it is an inherited method from wx.Window.