]> Pileus Git - ~andy/gtk/commit
Add gtk_widget_add_tick_callback(), remove GtkTimeline, etc.
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 19 Dec 2012 17:03:16 +0000 (12:03 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:52 +0000 (17:19 -0500)
commit449e8c88565b444d1399a9080bde5141d054bde6
treec8455ce3e8bde1098cbe326084b4ac31ddfbaa67
parent06c4598fc52cf21c7c0355761f3fa2e7e5923e9c
Add gtk_widget_add_tick_callback(), remove GtkTimeline, etc.

Add a very simple GtkWidget function for an "tick" callback, which
is connected to the ::update signal of GdkFrameClock.

Remove:

 - GtkTimeline. The consensus is that it is too complex.
 - GdkPaintClockTarget. In the rare cases where tick callbacks
    aren't sufficient, it's possible to track the
    paint clock with ::realize/::unrealize/::hierarchy-changed.

GtkTimeline is kept using ::update directly to allow using a GtkTimeline
with a paint clock but no widget.
gdk/gdkframeclock.c
gdk/gdkframeclock.h
gtk/Makefile.am
gtk/gtk.h
gtk/gtkstylecontext.c
gtk/gtkstylecontext.h
gtk/gtktimeline.c [deleted file]
gtk/gtktimeline.h [deleted file]
gtk/gtkwidget.c
gtk/gtkwidget.h
tests/animated-resizing.c