X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkwidgetpath.h;h=a8127e47fe1488b37cdc555d05f0da619980f66b;hb=9d0febc9a64a5bfb0fcfc3a88de4757f6c1ff090;hp=e44824fc523ddd2766de6544979e8d03216a0062;hpb=b0616c82252ccfd3064dd23fbd9352c343b1ca05;p=~andy%2Fgtk diff --git a/gtk/gtkwidgetpath.h b/gtk/gtkwidgetpath.h index e44824fc5..a8127e47f 100644 --- a/gtk/gtkwidgetpath.h +++ b/gtk/gtkwidgetpath.h @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -25,6 +23,7 @@ #define __GTK_WIDGET_PATH_H__ #include +#include #include G_BEGIN_DECLS @@ -41,8 +40,13 @@ GType gtk_widget_path_get_type (void) G_GNUC_CONST; GtkWidgetPath * gtk_widget_path_new (void); GtkWidgetPath * gtk_widget_path_copy (const GtkWidgetPath *path); +GDK_AVAILABLE_IN_3_2 +GtkWidgetPath * gtk_widget_path_ref (GtkWidgetPath *path); +GDK_AVAILABLE_IN_3_2 +void gtk_widget_path_unref (GtkWidgetPath *path); void gtk_widget_path_free (GtkWidgetPath *path); +GDK_AVAILABLE_IN_3_2 char * gtk_widget_path_to_string (const GtkWidgetPath *path); gint gtk_widget_path_length (const GtkWidgetPath *path); @@ -50,17 +54,27 @@ gint gtk_widget_path_append_type (GtkWidgetPath *path, GType type); void gtk_widget_path_prepend_type (GtkWidgetPath *path, GType type); +GDK_AVAILABLE_IN_3_2 +gint gtk_widget_path_append_with_siblings(GtkWidgetPath *path, + GtkWidgetPath *siblings, + guint sibling_index); /* gtk_widget_path_append_for_widget() is declared in gtkwidget.c */ +GDK_AVAILABLE_IN_3_2 gint gtk_widget_path_append_for_widget (GtkWidgetPath *path, GtkWidget *widget); -GType gtk_widget_path_iter_get_object_type (const GtkWidgetPath *path, - gint pos); -void gtk_widget_path_iter_set_object_type (GtkWidgetPath *path, - gint pos, - GType type); - -G_CONST_RETURN gchar * gtk_widget_path_iter_get_name (const GtkWidgetPath *path, +GType gtk_widget_path_iter_get_object_type (const GtkWidgetPath *path, + gint pos); +void gtk_widget_path_iter_set_object_type (GtkWidgetPath *path, + gint pos, + GType type); +const GtkWidgetPath * + gtk_widget_path_iter_get_siblings (const GtkWidgetPath *path, + gint pos); +guint gtk_widget_path_iter_get_sibling_index(const GtkWidgetPath *path, + gint pos); + +const gchar * gtk_widget_path_iter_get_name (const GtkWidgetPath *path, gint pos); void gtk_widget_path_iter_set_name (GtkWidgetPath *path, gint pos,