Method

GtkWidgetclass_path

Declaration [src]

void
gtk_widget_class_path (
  GtkWidget* widget,
  guint* path_length,
  gchar** path,
  gchar** path_reversed
)

Description [src]

Same as gtk_widget_path(), but always uses the name of a widget’s type, never uses a custom name set with gtk_widget_set_name().

Deprecated since:3.0

Use gtk_widget_get_path() instead.

Parameters

path_length guint*
 

Location to store the length of the class path, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
path gchar**
 

Location to store the class path as an allocated string, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.
path_reversed gchar**
 

Location to store the reverse class path as an allocated string, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.