1 /****************************************************************************
2 * Familia Lignum - Genealogical program *
3 * Copyright (C) 2011-2012 Rafał Długołęcki <rafal@dlugolecki.net.pl> *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; version 2 of the License. *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
14 * You should have received a copy of the GNU General Public License along *
15 * with this program; if not, write to the Free Software Foundation, Inc., *
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
18 ****************************************************************************/
20 #ifndef _UI_SCROLLBARS_H
21 #define _UI_SCROLLBARS_H
26 * @file ui/scrollbars.h
27 * @brief Code for connecting scrollbars to the application.
32 * Maintains changes in properties in main horizontal scrollbar.
34 * Emitted when one or more of the GtkAdjustment properties have been changed, other than the "value" property.
35 * @param adjustment the object which received the signal.
36 * @param user_data user data set when the signal handler was connected.
38 void horizontal_scrollbar_changed (GtkAdjustment *adjustment, gpointer user_data);
41 * Maintains value changes in main horizontal scrollbar.
43 * Emitted when the "value" property has been changed.
44 * @param adjustment the object which received the signal.
45 * @param user_data user data set when the signal handler was connected.
47 void horizontal_scrollbar_value_changed (GtkAdjustment *adjustment, gpointer user_data);
50 * Maintains changes in properties in main vertical scrollbar.
52 * Emitted when one or more of the GtkAdjustment properties have been changed, other than the "value" property.
53 * @param adjustment the object which received the signal.
54 * @param user_data user data set when the signal handler was connected.
56 void vertical_scrollbar_changed (GtkAdjustment *adjustment, gpointer user_data);
59 * Maintains value changes in main vertical scrollbar.
61 * Emitted when the "value" property has been changed.
62 * @param adjustment the object which received the signal.
63 * @param user_data user data set when the signal handler was connected.
65 void vertical_scrollbar_value_changed (GtkAdjustment *adjustment, gpointer user_data);
67 #endif /* _UI_SCROLLBARS_H */