2 * irreco - Ir Remote Control
3 * Copyright (C) 2007 Arto Karppinen (arto.karppinen@iki.fi)
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 * @addtogroup IrrecoListboxImage
27 * Header file of @ref IrrecoListboxImage.
32 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
34 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
36 * Make sure that typedefs are available before we include anything elese.
38 * This makes sure that whatever other structures that depend on structures
39 * defined in this file will compile OK recardles of header inclusion order.
41 #ifndef __IRRECO_LISTBOX_IMAGE_H_TYPEDEF__
42 #define __IRRECO_LISTBOX_IMAGE_H_TYPEDEF__
44 typedef struct _IrrecoListboxImage IrrecoListboxImage
;
45 typedef struct _IrrecoListboxImageClass IrrecoListboxImageClass
;
47 #define IRRECO_TYPE_LISTBOX_IMAGE irreco_listbox_image_get_type()
49 #define IRRECO_LISTBOX_IMAGE(obj) \
50 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
51 IRRECO_TYPE_LISTBOX_IMAGE, IrrecoListboxImage))
53 #define IRRECO_LISTBOX_IMAGE_CLASS(klass) \
54 (G_TYPE_CHECK_CLASS_CAST ((klass), \
55 IRRECO_TYPE_LISTBOX_IMAGE, IrrecoListboxImageClass))
57 #define IRRECO_IS_LISTBOX_IMAGE(obj) \
58 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
59 IRRECO_TYPE_LISTBOX_IMAGE))
61 #define IRRECO_IS_LISTBOX_IMAGE_CLASS(klass) \
62 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
63 IRRECO_TYPE_LISTBOX_IMAGE))
65 #define IRRECO_LISTBOX_IMAGE_GET_CLASS(obj) \
66 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
67 IRRECO_TYPE_LISTBOX_IMAGE, IrrecoListboxImageClass))
69 #endif /* __IRRECO_LISTBOX_IMAGE_H_TYPEDEF__ */
73 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
75 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
76 #ifndef __IRRECO_LISTBOX_IMAGE_H__
77 #define __IRRECO_LISTBOX_IMAGE_H__
79 #include "irreco_listbox.h"
83 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
85 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
87 struct _IrrecoListboxImage
{
91 struct _IrrecoListboxImageClass
{
92 IrrecoListboxClass parent_class
;
97 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
99 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
100 GType
irreco_listbox_image_get_type (void);
101 GtkWidget
* irreco_listbox_image_new (void);
102 GtkWidget
* irreco_listbox_image_new_with_autosize (gint min_width
,
106 void irreco_listbox_image_append (IrrecoListboxImage
*self
,
111 void irreco_listbox_image_append_with_size(IrrecoListboxImage
*self
,
121 #endif /* __IRRECO_LISTBOX_IMAGE_H__ */