[ CCode ( has_construct_function = false , type = "ClutterActor*" ) ]
public Actor.with_contents (Widget contents)
Creates a new Actor widget.
This widget can be used to embed a Gtk widget into a clutter scene.
This function is the logical equivalent of:
ClutterActor *actor = gtk_clutter_actor_new ();
GtkWidget *bin = gtk_clutter_actor_get_widget (GTK_CLUTTER_ACTOR (actor));
gtk_container_add (GTK_CONTAINER (bin), contents);
contents |
a Widget to pack into this Actor |
the newly created Actor |