layout_changed
Description:
[ HasEmitter ]
public virtual signal void layout_changed ()
public virtual signal void layout_changed ()
The layout_changed signal is emitted each time a layout manager has been changed.
Every Actor using the manager
instance as a layout manager should
connect a handler to the layout_changed signal and queue a relayout on themselves:
static void layout_changed (ClutterLayoutManager *manager,
ClutterActor *self)
{
clutter_actor_queue_relayout (self);
}
...
self->manager = g_object_ref_sink (manager);
g_signal_connect (self->manager, "layout-changed",
G_CALLBACK (layout_changed),
self);
Sub-classes of LayoutManager that implement a layout that can be controlled or changed using parameters should emit the layout_changed signal whenever one of the parameters changes, by using layout_changed.