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 IrrecoScrolledWindow
27 * Header file of @ref IrrecoScrolledWindow.
30 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
32 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
34 * Make sure that typedefs are available before we include anything elese.
36 * This makes sure that whatever other structures that depend on structures
37 * defined in this file will compile OK recardles of header inclusion order.
39 #ifndef __IRRECO_SCROLLED_WINDOW_H_TYPEDEF__
40 #define __IRRECO_SCROLLED_WINDOW_H_TYPEDEF__
42 typedef struct _IrrecoScrolledWindow IrrecoScrolledWindow
;
43 typedef struct _IrrecoScrolledWindowClass IrrecoScrolledWindowClass
;
45 #define IRRECO_TYPE_SCROLLED_WINDOW irreco_scrolled_window_get_type()
47 #define IRRECO_SCROLLED_WINDOW(obj) \
48 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
49 IRRECO_TYPE_SCROLLED_WINDOW, IrrecoScrolledWindow))
51 #define IRRECO_SCROLLED_WINDOW_CLASS(klass) \
52 (G_TYPE_CHECK_CLASS_CAST ((klass), \
53 IRRECO_TYPE_SCROLLED_WINDOW, IrrecoScrolledWindowClass))
55 #define IRRECO_IS_SCROLLED_WINDOW(obj) \
56 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
57 IRRECO_TYPE_SCROLLED_WINDOW))
59 #define IRRECO_IS_SCROLLED_WINDOW_CLASS(klass) \
60 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
61 IRRECO_TYPE_SCROLLED_WINDOW))
63 #define IRRECO_SCROLLED_WINDOW_GET_CLASS(obj) \
64 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
65 IRRECO_TYPE_SCROLLED_WINDOW, IrrecoScrolledWindowClass))
67 #endif /* __IRRECO_SCROLLED_WINDOW_H_TYPEDEF__ */
71 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
73 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
74 #ifndef __IRRECO_SCROLLED_WINDOW_H__
75 #define __IRRECO_SCROLLED_WINDOW_H__
80 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
82 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
83 struct _IrrecoScrolledWindow
{
84 GtkScrolledWindow parent
;
94 struct _IrrecoScrolledWindowClass
{
95 GtkScrolledWindowClass parent_class
;
99 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
101 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
105 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
107 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
108 GType
irreco_scrolled_window_get_type (void);
109 GtkWidget
* irreco_scrolled_window_new (void);
110 GtkWidget
* irreco_scrolled_window_new_with_autoresize(gint width_min
,
114 void irreco_scrolled_window_set_autoresize(IrrecoScrolledWindow
*self
,
119 void irreco_scrolled_window_add(IrrecoScrolledWindow
*self
,
121 #endif /* __IRRECO_SCROLLED_WINDOW_H__ */