[wxruby-users] wxFormBuilder Event Question

Alex Fenton alex at pressure.to
Mon Mar 16 18:47:55 EDT 2009


Michael Satterwhite wrote:
> I'm learning these tools right now, and I have a question regarding
> events.
>
> In wxFormBuilder, there is the facility to add events to an object. When
> I look at the generated .xrc, however, I don't see any reference to that
> event. What's the purpose of specifying an event here if it isn't saved
> to the .xrc?
>   

I haven't used wxFormBuilder, but generally, wx designers (like 
FormBuilder, DialogBlocks) save (just) layout to XRC. XRC as an XML 
format describes how a window/frame/dialog is composed, but nothing 
about how it interacts. They then can use their own custom format to 
save data beyond what XRC permits - eg events. But AFAIK there is no 
standard for this, so although it could be useful in Ruby, it's not at 
the moment.

a



More information about the wxruby-users mailing list