{
GType type;
- type = gtk_widget_path_get_element_type (path, index);
+ type = gtk_widget_path_iter_get_widget_type (path, index);
if (!g_type_is_a (type, elem->type))
return FALSE;
const gchar *name, *path_name;
name = g_quark_to_string (elem->name);
- path_name = gtk_widget_path_get_element_name (path, index);
+ path_name = gtk_widget_path_iter_get_name (path, index);
if (!path_name ||
strcmp (path_name, name) != 0)
}
GType
-gtk_widget_path_get_element_type (const GtkWidgetPath *path,
- guint pos)
+gtk_widget_path_iter_get_widget_type (const GtkWidgetPath *path,
+ guint pos)
{
GtkPathElement *elem;
}
void
-gtk_widget_path_set_element_type (GtkWidgetPath *path,
- guint pos,
- GType type)
+gtk_widget_path_iter_set_widget_type (GtkWidgetPath *path,
+ guint pos,
+ GType type)
{
GtkPathElement *elem;
}
G_CONST_RETURN gchar *
-gtk_widget_path_get_element_name (const GtkWidgetPath *path,
- guint pos)
+gtk_widget_path_iter_get_name (const GtkWidgetPath *path,
+ guint pos)
{
GtkPathElement *elem;
}
void
-gtk_widget_path_set_element_name (GtkWidgetPath *path,
- guint pos,
- const gchar *name)
+gtk_widget_path_iter_set_name (GtkWidgetPath *path,
+ guint pos,
+ const gchar *name)
{
GtkPathElement *elem;
guint gtk_widget_path_prepend_type (GtkWidgetPath *path,
GType type);
-GType gtk_widget_path_get_element_type (const GtkWidgetPath*path,
- guint pos);
-void gtk_widget_path_set_element_type (GtkWidgetPath *path,
- guint pos,
- GType type);
-
-G_CONST_RETURN gchar * gtk_widget_path_get_element_name (const GtkWidgetPath *path,
- guint pos);
-void gtk_widget_path_set_element_name (GtkWidgetPath *path,
- guint pos,
- const gchar *name);
+GType gtk_widget_path_iter_get_widget_type (const GtkWidgetPath *path,
+ guint pos);
+void gtk_widget_path_iter_set_widget_type (GtkWidgetPath *path,
+ guint pos,
+ GType type);
+
+G_CONST_RETURN gchar * gtk_widget_path_iter_get_name (const GtkWidgetPath *path,
+ guint pos);
+void gtk_widget_path_iter_set_name (GtkWidgetPath *path,
+ guint pos,
+ const gchar *name);
void gtk_widget_path_iter_add_region (GtkWidgetPath *path,
guint pos,