wxruby: clearing and replacing contents of a frame (panel?)

T

Terry Michaels

I was thinking about switching one of my projects interfaces over to
wxruby. But before I do, I need to know: how does the clearing and
replacing of frame (panel?) contents work in wxruby? Lets say you had a
window divided up into three panes, and you wanted the contents of the
third pane erased and replaced with new buttons and text. What would
this look like in code? (Any examples would be appreciated.)

I'm going through the API, but this isn't quite clear to me. In shoes,
you can just take the stack or flow, call "clear" on it, and then add
new objects within the context of the stack/flow, but I'm not sure what
the parallel is within wxruby. This is rather fundamental to my
interface concept, so this is why I am asking /before/ getting into
wxruby.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top