2
* Copyright 2012 Canonical Ltd.
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 3, as published
6
* by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranties of
10
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11
* PURPOSE. See the GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License along
14
* with this program. If not, see <http://www.gnu.org/licenses/>.
17
* Lars Uebernickel <lars.uebernickel@canonical.com>
20
#ifndef __IDO_DETAIL_LABEL_H__
21
#define __IDO_DETAIL_LABEL_H__
25
#define IDO_TYPE_DETAIL_LABEL (ido_detail_label_get_type())
26
#define IDO_DETAIL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IDO_TYPE_DETAIL_LABEL, IdoDetailLabel))
27
#define IDO_DETAIL_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IDO_TYPE_DETAIL_LABEL, IdoDetailLabelClass))
28
#define IDO_IS_DETAIL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IDO_TYPE_DETAIL_LABEL))
29
#define IDO_IS_DETAIL_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IDO_TYPE_DETAIL_LABEL))
30
#define IDO_DETAIL_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IDO_TYPE_DETAIL_LABEL, IdoDetailLabelClass))
32
typedef struct _IdoDetailLabel IdoDetailLabel;
33
typedef struct _IdoDetailLabelClass IdoDetailLabelClass;
34
typedef struct _IdoDetailLabelPrivate IdoDetailLabelPrivate;
36
struct _IdoDetailLabel
39
IdoDetailLabelPrivate *priv;
42
struct _IdoDetailLabelClass
44
GtkWidgetClass parent_class;
47
GType ido_detail_label_get_type (void) G_GNUC_CONST;
49
GtkWidget * ido_detail_label_new (const gchar *str);
51
const gchar * ido_detail_label_get_text (IdoDetailLabel *label);
53
void ido_detail_label_set_text (IdoDetailLabel *label,
56
void ido_detail_label_set_count (IdoDetailLabel *label,