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 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
23 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
25 * Make sure that typedefs are available before we include anything elese.
27 * This makes sure that whatever other structures that depend on structures
28 * defined in this file will compile OK recardles of header inclusion order.
30 #ifndef __IRRECO_SCROLLED_WINDOW_H_TYPEDEF__
31 #define __IRRECO_SCROLLED_WINDOW_H_TYPEDEF__
33 typedef struct _IrrecoScrolledWindow IrrecoScrolledWindow
;
34 typedef struct _IrrecoScrolledWindowClass IrrecoScrolledWindowClass
;
36 #define IRRECO_TYPE_SCROLLED_WINDOW irreco_scrolled_window_get_type()
38 #define IRRECO_SCROLLED_WINDOW(obj) \
39 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
40 IRRECO_TYPE_SCROLLED_WINDOW, IrrecoScrolledWindow))
42 #define IRRECO_SCROLLED_WINDOW_CLASS(klass) \
43 (G_TYPE_CHECK_CLASS_CAST ((klass), \
44 IRRECO_TYPE_SCROLLED_WINDOW, IrrecoScrolledWindowClass))
46 #define IRRECO_IS_SCROLLED_WINDOW(obj) \
47 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
48 IRRECO_TYPE_SCROLLED_WINDOW))
50 #define IRRECO_IS_SCROLLED_WINDOW_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
52 IRRECO_TYPE_SCROLLED_WINDOW))
54 #define IRRECO_SCROLLED_WINDOW_GET_CLASS(obj) \
55 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
56 IRRECO_TYPE_SCROLLED_WINDOW, IrrecoScrolledWindowClass))
58 #endif /* __IRRECO_SCROLLED_WINDOW_H_TYPEDEF__ */
62 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
64 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
65 #ifndef __IRRECO_SCROLLED_WINDOW_H__
66 #define __IRRECO_SCROLLED_WINDOW_H__
71 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
73 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
74 struct _IrrecoScrolledWindow
{
75 GtkScrolledWindow parent
;
85 struct _IrrecoScrolledWindowClass
{
86 GtkScrolledWindowClass parent_class
;
90 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
92 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
96 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
98 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
99 GType
irreco_scrolled_window_get_type (void);
100 GtkWidget
* irreco_scrolled_window_new (void);
101 GtkWidget
* irreco_scrolled_window_new_with_autoresize(gint width_min
,
105 void irreco_scrolled_window_set_autoresize(IrrecoScrolledWindow
*self
,
110 void irreco_scrolled_window_add(IrrecoScrolledWindow
*self
,
112 #endif /* __IRRECO_SCROLLED_WINDOW_H__ */