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

Discussion in 'Ruby' started by Terry Michaels, Aug 28, 2010.

  1. 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.
    --
    Posted via http://www.ruby-forum.com/.
     
    Terry Michaels, Aug 28, 2010
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Meade

    Replacing - and not Replacing...

    Rob Meade, Apr 5, 2005, in forum: ASP General
    Replies:
    5
    Views:
    314
    Chris Hohmann
    Apr 11, 2005
  2. kazaam
    Replies:
    2
    Views:
    143
    Stefano Crocco
    Aug 23, 2007
  3. 7stud --
    Replies:
    2
    Views:
    199
    7stud --
    Mar 24, 2009
  4. Replies:
    2
    Views:
    212
  5. Aaron C
    Replies:
    2
    Views:
    219
    Dr J R Stockton
    Nov 21, 2009
Loading...

Share This Page