Calling callback when grid has changed.

Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54130
This commit is contained in:
Otavio Pontes 2010-11-03 18:31:31 +00:00 committed by Rafael Antognolli
parent aec1fcd220
commit eff9c70829
2 changed files with 4 additions and 0 deletions

View File

@ -847,6 +847,7 @@ extern "C" {
* clicked - User has double-clicked a item.
* realized - An evas object for a item was built.
* unrealized - An evas object for a item was deleted.
* changed - Gengrid has changed.
* scroll - the content has been scrolled (moved).
* "scroll,drag,start" - dragging the contents around has started.
* "scroll,drat,stop" - dragging the contents around has stopped.

View File

@ -30,6 +30,8 @@
* unrealized - This is called when the real evas object for this item is
* deleted. event_info is the Gengrid item that was created.
*
* changed - This is called when the grid has changed.
*
* drag,start,up - Called when the item in the Gengrid has been dragged (not
* scrolled) up.
*
@ -1264,6 +1266,7 @@ _pan_calculate(Evas_Object *obj)
if (!cx) cy++;
}
}
evas_object_smart_callback_call(sd->wd->self, "changed", NULL);
}
static void