wxFormBuilder Event Question

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?

Michael S. 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

On Mon, Mar 16, 2009 at 5:47 PM, Alex F. [email protected] wrote:

To expand on this further, especially since I’m the one who recommends
wxFormBuilder, the event “attachment” that you see in the editor, is
only
useful when generating C++ Source code that will be compiled later. It
does
absolutely nothing for attaching events to function names in the XRC
file
itself.