Add a facility for events to fire based on modification of properties defined in falagard xml.

Create issue
Issue #713 resolved
Paul Turner created an issue

It would be highly useful if properties defined via PropertyDefinition and PropertyLinkDefinition could fire an event emanating from the target window.

All such events should pass a WindowEventArgs based object.

Whether we should use a single "EventFalagardPropertyChanged" and pass an event args with the property name and before / after values, or fabricate event names based on the property names should be considered carefully.

Reproducibility: N/A

Additional information: It is the skin creators job to ensure they do not either collide with - or abuse - existing event names (which basically happens if you trigger an event that would normally pass a different kind of event args struct).

Comments (1)

  1. Paul Turner reporter

    User can specify arbitrary event name to fire via fireEvent attribute. Event is passed WindowEventArgs reference.

    changeset: 3183:b5874e5fb1d0 user: Paul Turner <paul@cegui.org.uk> date: Thu Mar 01 17:07:41 2012 +0000 summary: ADD: Feature for properties and property links defined in looknfeel XML to fire some user specified event when the property is written.

  2. Log in to comment