2 * This file is a part of hildon
4 * Copyright (C) 2007 Nokia Corporation, all rights reserved.
6 * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
7 * Author: Xan Lopez <xan.lopez@nokia.com>
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public License
11 * as published by the Free Software Foundation; version 2.1 of
12 * the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
26 #ifndef HILDON_DISABLE_DEPRECATED
28 #ifndef __HILDON_BREAD_CRUMB_WIDGET_H__
29 #define __HILDON_BREAD_CRUMB_WIDGET_H__
33 #include "hildon-bread-crumb.h"
37 typedef struct _HildonBreadCrumbWidget HildonBreadCrumbWidget;
38 typedef struct _HildonBreadCrumbWidgetClass HildonBreadCrumbWidgetClass;
39 typedef struct _HildonBreadCrumbWidgetPrivate HildonBreadCrumbWidgetPrivate;
41 #define HILDON_TYPE_BREAD_CRUMB_WIDGET (hildon_bread_crumb_widget_get_type ())
42 #define HILDON_BREAD_CRUMB_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HILDON_TYPE_BREAD_CRUMB_WIDGET, HildonBreadCrumbWidget))
43 #define HILDON_BREAD_CRUMB_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HILDON_TYPE_BREAD_CRUMB_WIDGET, HildonBreadCrumbWidgetClass))
44 #define HILDON_IS_BREAD_CRUMB_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HILDON_TYPE_BREAD_CRUMB_WIDGET))
45 #define HILDON_IS_BREAD_CRUMB_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_BREAD_CRUMB_WIDGET))
46 #define HILDON_BREAD_CRUMB_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HILDON_TYPE_BREAD_CRUMB_WIDGET, HildonBreadCrumbWidgetClass))
48 struct _HildonBreadCrumbWidget
54 HildonBreadCrumbWidgetPrivate *priv;
57 struct _HildonBreadCrumbWidgetClass
59 GtkButtonClass parent_class;
62 GType hildon_bread_crumb_widget_get_type (void) G_GNUC_CONST;
63 GtkWidget *_hildon_bread_crumb_widget_new (void);
64 GtkWidget *_hildon_bread_crumb_widget_new_with_text (const gchar *label);
65 GtkWidget *_hildon_bread_crumb_widget_new_with_icon (GtkWidget *icon, const gchar *text);
66 void _hildon_bread_crumb_widget_set_text (HildonBreadCrumbWidget *item, const gchar *text);
67 const gchar *_hildon_bread_crumb_widget_get_text (HildonBreadCrumbWidget *item);
68 void _hildon_bread_crumb_widget_set_show_separator (HildonBreadCrumbWidget *item,
69 gboolean show_separator);
70 void _hildon_bread_crumb_widget_set_icon (HildonBreadCrumbWidget *bread_crumb_widget,
72 void _hildon_bread_crumb_widget_set_icon_position (HildonBreadCrumbWidget *bread_crumb,
73 GtkPositionType icon_position);
79 #endif /* HILDON_DISABLE_DEPRECATED */