*
* "clicked" - the user clicked the button
* "repeated" - the user pressed the button without releasing it
+ * "pressed" - when the button is pressed
* "unpressed" - when the button is unpressed (released)
*/
static const char SIG_CLICKED[] = "clicked";
static const char SIG_REPEATED[] = "repeated";
+static const char SIG_PRESSED[] = "pressed";
static const char SIG_UNPRESSED[] = "unpressed";
static const Evas_Smart_Cb_Description _signals[] = {
{SIG_CLICKED, ""},
{SIG_REPEATED, ""},
+ {SIG_PRESSED, ""},
{SIG_UNPRESSED, ""},
{NULL, NULL}
};
else
wd->timer = ecore_timer_add(wd->ar_threshold, _autorepeat_initial_send, data);
}
+
+ evas_object_smart_callback_call(data, SIG_PRESSED, NULL);
}
static void