Ticket #705 (new enhancement)

Opened 6 years ago

Last modified 5 years ago

Pychan widget events

Reported by: vdaras <vasileiosdaras@…> Owned by: FIFE
Priority: normal Milestone: 0.3.5
Component: engine/extensions/pychan Version: trunk
Severity: normal Keywords: pychan widgets events
Cc: Blocked By:
Blocking: Time planned:
Time remaining: Time spent:


Make event mapper able to map events distributed by widgets.

Possible widget events:

  • Widget hidden
  • Widget shown
  • Widget moved
  • Widget resized

Change History

comment:1 Changed 6 years ago by vdaras

(In [3941]) Enabled widget events. Events widgetMoved and widgetResized are not fired for children when their parent is moved or resized yet. I also created a test in <fife>/tests/fife_test/tests/ for this. refs #705

comment:2 Changed 6 years ago by vdaras

(In [3942]) Updated settings-dist.xml to include PychanWidgetEventsTest? refs #705

comment:3 Changed 6 years ago by vdaras

(In [3943]) Fixed a bug in <fife>/tests/fife_test/tests/PychanWidgetEventsTest.py refs #705

comment:4 Changed 6 years ago by vdaras

(In [3955]) Removed pychan widget show/hidden event distribution since widget re-distribution is now handled at fifechan level.

Events for 'widgetMoved' now work too. refs #705

comment:5 Changed 6 years ago by vdaras

(In [3956]) Changed widget events in pychan.

Introduced three new events -ancestorMoved -ancestorHidden -ancestorShown

Now a widget that its parent was e.g moved fires an ancestorMoved event instead of a widgetMoved.

Also updated the corresponding test to demonstrate the new events. refs #705

comment:6 Changed 6 years ago by vdaras

(In [3957]) Made another update in test for Pychan widget events. refs #705

comment:7 Changed 5 years ago by prock

  • Milestone changed from 0.3.4 to 0.3.5

Moving to 0.3.5 as we are preparing to release 0.3.4

Note: See TracTickets for help on using tickets.