Mouse events in FastTableModel subclass [Spec]
Jan. 5, 2017
2:48 p.m.
Hi, I've created a PictureListModel class to manage a list of pictures. It's a subclass FastTableModel and its adapter (MorphicPictureListAdapter) is a subclass of MorphicFastTableAdapter. The widget works correctly: it shows a scrollable list of pictures. The problem is that it cannot handle âclickâ and âdouble clicksâ events, i.e. double clicking on a list item does nothing, even setting "handlesDoubleClick:" to true. I've tried to figure out the mechanism, looking into the FastTableModel, its Morphic adapter and reading the "BuildingUIWithSpec" doc, but I didn't get it. Where could I find some hint to manage "click" and "double click" events in FastTableModel? Thanks, Matteo
3494
Age (days ago)
3494
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo