1 /* GTK - The GIMP Toolkit
3 * Copyright (C) 2010 Javier Jardón
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library 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 GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef __GTK_BUTTON_PRIVATE_H__
20 #define __GTK_BUTTON_PRIVATE_H__
22 #include "gtkactionhelper.h"
23 #include "gtkaction.h"
28 struct _GtkButtonPrivate
32 GtkActionHelper *action_helper;
34 GdkDevice *grab_keyboard;
35 GdkWindow *event_window;
42 guint activate_timeout;
45 GtkPositionType image_position;
48 guint button_down : 1;
49 guint constructed : 1;
51 guint depress_on_activate : 1;
52 guint focus_on_click : 1;
53 guint image_is_stock : 1;
56 guint use_action_appearance : 1;
58 guint use_underline : 1;
59 guint always_show_image : 1;
62 void _gtk_button_set_depressed (GtkButton *button,
68 #endif /* __GTK_BUTTON_PRIVATE_H__ */