4
* An OpenGL based 'interactive canvas' library.
6
* Copyright (C) 2010 Intel Corporation.
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
22
* Jose Dapena Paz <jdapena@igalia.com>
24
* Based on the MX MxTable actor by:
25
* Thomas Wood <thomas.wood@intel.com>
28
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
29
#error "Only <clutter/clutter.h> can be included directly."
32
#ifndef __CLUTTER_TABLE_LAYOUT_H__
33
#define __CLUTTER_TABLE_LAYOUT_H__
35
#include <clutter/clutter-layout-manager.h>
39
#define CLUTTER_TYPE_TABLE_LAYOUT (clutter_table_layout_get_type ())
40
#define CLUTTER_TABLE_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_TABLE_LAYOUT, ClutterTableLayout))
41
#define CLUTTER_IS_TABLE_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_TABLE_LAYOUT))
42
#define CLUTTER_TABLE_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_TABLE_LAYOUT, ClutterTableLayoutClass))
43
#define CLUTTER_IS_TABLE_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_TABLE_LAYOUT))
44
#define CLUTTER_TABLE_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_TABLE_LAYOUT, ClutterTableLayoutClass))
46
typedef struct _ClutterTableLayout ClutterTableLayout;
47
typedef struct _ClutterTableLayoutPrivate ClutterTableLayoutPrivate;
48
typedef struct _ClutterTableLayoutClass ClutterTableLayoutClass;
53
* The #ClutterTableLayout structure contains only private data
54
* and should be accessed using the provided API
58
* Deprecated: 1.18: Use #ClutterGridLayout instead
60
struct _ClutterTableLayout
63
ClutterLayoutManager parent_instance;
65
ClutterTableLayoutPrivate *priv;
69
* ClutterTableLayoutClass:
71
* The #ClutterTableLayoutClass structure contains only private
72
* data and should be accessed using the provided API
76
* Deprecated: 1.18: Use #ClutterGridLayout instead
78
struct _ClutterTableLayoutClass
81
ClutterLayoutManagerClass parent_class;
84
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_get_type)
85
GType clutter_table_layout_get_type (void) G_GNUC_CONST;
87
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_new)
88
ClutterLayoutManager *clutter_table_layout_new (void);
90
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_attach)
91
void clutter_table_layout_pack (ClutterTableLayout *layout,
96
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_set_column_spacing)
97
void clutter_table_layout_set_column_spacing (ClutterTableLayout *layout,
99
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_set_row_spacing)
100
void clutter_table_layout_set_row_spacing (ClutterTableLayout *layout,
102
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_get_column_spacing)
103
guint clutter_table_layout_get_column_spacing (ClutterTableLayout *layout);
104
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_get_row_spacing)
105
guint clutter_table_layout_get_row_spacing (ClutterTableLayout *layout);
107
CLUTTER_DEPRECATED_IN_1_18
108
void clutter_table_layout_set_span (ClutterTableLayout *layout,
112
CLUTTER_DEPRECATED_IN_1_18
113
void clutter_table_layout_get_span (ClutterTableLayout *layout,
118
CLUTTER_DEPRECATED_IN_1_12
119
void clutter_table_layout_set_alignment (ClutterTableLayout *layout,
121
ClutterTableAlignment x_align,
122
ClutterTableAlignment y_align);
123
CLUTTER_DEPRECATED_IN_1_12
124
void clutter_table_layout_get_alignment (ClutterTableLayout *layout,
126
ClutterTableAlignment *x_align,
127
ClutterTableAlignment *y_align);
128
CLUTTER_DEPRECATED_IN_1_12
129
void clutter_table_layout_set_fill (ClutterTableLayout *layout,
133
CLUTTER_DEPRECATED_IN_1_12
134
void clutter_table_layout_get_fill (ClutterTableLayout *layout,
138
CLUTTER_DEPRECATED_IN_1_12
139
void clutter_table_layout_set_expand (ClutterTableLayout *layout,
143
CLUTTER_DEPRECATED_IN_1_12
144
void clutter_table_layout_get_expand (ClutterTableLayout *layout,
149
CLUTTER_DEPRECATED_IN_1_18
150
gint clutter_table_layout_get_row_count (ClutterTableLayout *layout);
151
CLUTTER_DEPRECATED_IN_1_18
152
gint clutter_table_layout_get_column_count (ClutterTableLayout *layout);
154
CLUTTER_DEPRECATED_IN_1_12
155
void clutter_table_layout_set_use_animations (ClutterTableLayout *layout,
157
CLUTTER_DEPRECATED_IN_1_12
158
gboolean clutter_table_layout_get_use_animations (ClutterTableLayout *layout);
159
CLUTTER_DEPRECATED_IN_1_12
160
void clutter_table_layout_set_easing_mode (ClutterTableLayout *layout,
162
CLUTTER_DEPRECATED_IN_1_12
163
gulong clutter_table_layout_get_easing_mode (ClutterTableLayout *layout);
164
CLUTTER_DEPRECATED_IN_1_12
165
void clutter_table_layout_set_easing_duration (ClutterTableLayout *layout,
167
CLUTTER_DEPRECATED_IN_1_12
168
guint clutter_table_layout_get_easing_duration (ClutterTableLayout *layout);
172
#endif /* __CLUTTER_TABLE_LAYOUT_H__ */