Method

GtkWidgetreparent

deprecated: 3.14 

Declaration [src]

void
gtk_widget_reparent (
  GtkWidget* widget,
  GtkWidget* new_parent
)

Description [src]

Moves a widget from one GtkContainer to another, handling reference count issues to avoid destroying the widget.

Deprecated since: 3.14

Use gtk_container_remove() and gtk_container_add().

Parameters

new_parent

Type: GtkWidget

A GtkContainer to move the widget into.

The data is owned by the caller of the method.