Change-Id: I4d72ceba0abaed1cb1da7069de547cf899f63c74
// connect to the touch events
tile.TouchedSignal().Connect( this, &DaliTableView::OnTilePressed );
+ tile.HoveredSignal().Connect( this, &DaliTableView::OnTileHovered );
return tile;
}
OnTilePressed(mPressedActor, touchEventUp);
}
}
+
+bool DaliTableView::OnTileHovered( Actor actor, const HoverEvent& event )
+{
+ KeyboardFocusManager::Get().SetCurrentFocusActor( actor );
+ return true;
+}
+
+
bool OnTilePressed( Dali::Actor actor, const Dali::TouchEvent& event );
/**
+ * Signal emitted when any tile has been hovered
+ *
+ * @param[in] actor The Actor representing this tile.
+ * @param[in] event The HoverEvent
+ *
+ * @return Consume flag
+ */
+ bool OnTileHovered( Dali::Actor actor, const Dali::HoverEvent& event );
+
+ /**
* Signal emitted when the pressed animation has completed.
*
* @param[in] source The animation source.