145 GObjectClass *object_class = G_OBJECT_CLASS (klass);
150 g_object_class_install_property (object_class,
152 g_param_spec_enum (
"type",
154 "Page transition effect type",
155 EV_TYPE_TRANSITION_EFFECT_TYPE,
158 G_PARAM_STATIC_STRINGS));
159 g_object_class_install_property (object_class,
161 g_param_spec_enum (
"alignment",
163 "Alignment for the effect",
164 EV_TYPE_TRANSITION_EFFECT_ALIGNMENT,
167 G_PARAM_STATIC_STRINGS));
168 g_object_class_install_property (object_class,
170 g_param_spec_enum (
"direction",
172 "Direction for the effect",
173 EV_TYPE_TRANSITION_EFFECT_DIRECTION,
176 G_PARAM_STATIC_STRINGS));
177 g_object_class_install_property (object_class,
179 g_param_spec_int (
"duration",
181 "Effect duration in seconds",
184 G_PARAM_STATIC_STRINGS));
185 g_object_class_install_property (object_class,
187 g_param_spec_int (
"angle",
189 "Effect angle in degrees, counted "
190 "counterclockwise from left to right",
193 G_PARAM_STATIC_STRINGS));
194 g_object_class_install_property (object_class,
196 g_param_spec_double (
"scale",
198 "Scale at which the effect is applied",
201 G_PARAM_STATIC_STRINGS));
202 g_object_class_install_property (object_class,
204 g_param_spec_boolean (
"rectangular",
206 "Whether the covered area is rectangular",
209 G_PARAM_STATIC_STRINGS));