How do I get the width of a component in AUI?

I was looking at wx.aui.AuiManager and I noticed GetPane() which
returns the wx.AuiPaneInfo. However, looking at the documentation,
there does not seem to be any property or method that would return the
width in pixels occupied by that pane. How would I go about this?

Thanks.

Ok, I found the answer:

theparentframe.auimanager.GetPane(component).rect

It will return the [x, y, w, h] values.

ยทยทยท

On Jan 9, 10:59 am, jeprox script <j3p...@gmail.com> wrote:

I was looking at wx.aui.AuiManager and I noticed GetPane() which
returns the wx.AuiPaneInfo. However, looking at the documentation,
there does not seem to be any property or method that would return the
width in pixels occupied by that pane. How would I go about this?

Thanks.