[wxPython] What Does One Use For A CANVAS?

Hi,
I'm on my last conversion from tkinter to wxPython.
In tkinter I used a cnavas widget to build a data
entry form. I see there is a wxCanvasGL, I think
that is the name, is this the only Canvas widget?
Can one put text and entry widgets on this
canvas type?
Thanks.
Wayne

Hi,
I'm on my last conversion from tkinter to wxPython.
In tkinter I used a cnavas widget to build a data
entry form. I see there is a wxCanvasGL, I think
that is the name, is this the only Canvas widget?
Can one put text and entry widgets on this
canvas type?

Controls can be placed on nearly any kind of window, but you'll get best
results if you use a wxPanel.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

Robin Dunn wrote:

Controls can be placed on nearly any kind of window, but you'll get best
results if you use a wxPanel.

Can one attach a scrollbar to wxPanel. I should have mention
that I need the data entry form to beable to scroll.
Wayne

> Controls can be placed on nearly any kind of window, but you'll get best
> results if you use a wxPanel.

Can one attach a scrollbar to wxPanel. I should have mention
that I need the data entry form to beable to scroll.

Yes, but you'll probably want to use a wxScrolledWindow instead as it takes
care of a lot of the scrolling issues for you.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

I sure do wish someone would write a book on this system!!!
Thanks for your info Robin.
Wayne

Robin Dunn wrote:

···

> > Controls can be placed on nearly any kind of window, but you'll get best
> > results if you use a wxPanel.
>
> Can one attach a scrollbar to wxPanel. I should have mention
> that I need the data entry form to beable to scroll.

Yes, but you'll probably want to use a wxScrolledWindow instead as it takes
care of a lot of the scrolling issues for you.

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users