Method

GtkContainerget_path_for_child

Declaration [src]

GtkWidgetPath*
gtk_container_get_path_for_child (
  GtkContainer* container,
  GtkWidget* child
)

Description [src]

Returns a newly created widget path representing all the widget hierarchy from the toplevel down to and including child.

Parameters

child

Type: GtkWidget

A child of container.

The data is owned by the caller of the method.

Return value

Type: GtkWidgetPath

A newly created GtkWidgetPath.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.