GtkClutter.Actor.prototype.get_contents
function get_contents(): Gtk.Widget {
// Gjs wrapper for gtk_clutter_actor_get_contents()
}
Retrieves the child of the Gtk.Bin used to hold the contents of actor.
This convenience function is the logical equivalent of:
|[ GtkWidget *bin;
bin = gtk_clutter_actor_get_widget (GTK_CLUTTER_ACTOR (actor)); return gtk_bin_get_child (GTK_BIN (bin)); ]|
- Returns
a Gtk.Widget, or null if not content has been set