Displaying all loaded objects horizontally.
[familia.git] / src / ui / scrollbars.h
1 /****************************************************************************
2  *  Familia Lignum - Genealogical program                                   *
3  *  Copyright (C) 2011-2012 Rafał Długołęcki <rafal@dlugolecki.net.pl>      *
4  *                                                                          *
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.                 *
8  *                                                                          *
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.                            *
13  *                                                                          *
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.             *
17  *                                                                          *
18  ****************************************************************************/
19
20 #ifndef _UI_SCROLLBARS_H
21 #define _UI_SCROLLBARS_H
22
23 #include <gtk/gtk.h>
24
25 /**
26  * Maintains changes in properties in main horizontal scrollbar.
27  * 
28  * Emitted when one or more of the GtkAdjustment properties have been changed, other than the "value" property.
29  * @param adjustment the object which received the signal.
30  * @param user_data user data set when the signal handler was connected.
31  */
32 void horizontal_scrollbar_changed (GtkAdjustment *adjustment, gpointer user_data);
33
34 /**
35  * Maintains value changes in main horizontal scrollbar.
36  * 
37  * Emitted when the "value" property has been changed.
38  * @param adjustment the object which received the signal.
39  * @param user_data user data set when the signal handler was connected.
40  */
41 void horizontal_scrollbar_value_changed (GtkAdjustment *adjustment, gpointer user_data);
42
43 /**
44  * Maintains changes in properties in main vertical scrollbar.
45  * 
46  * Emitted when one or more of the GtkAdjustment properties have been changed, other than the "value" property.
47  * @param adjustment the object which received the signal.
48  * @param user_data user data set when the signal handler was connected.
49  */
50 void vertical_scrollbar_changed (GtkAdjustment *adjustment, gpointer user_data);
51
52 /**
53  * Maintains value changes in main vertical scrollbar.
54  * 
55  * Emitted when the "value" property has been changed.
56  * @param adjustment the object which received the signal.
57  * @param user_data user data set when the signal handler was connected.
58  */
59 void vertical_scrollbar_value_changed (GtkAdjustment *adjustment, gpointer user_data);
60
61 #endif /* _UI_SCROLLBARS_H */