Release 2.1.94
[hildon] / hildon / hildon-app-menu-private.h
1 /*
2  * This file is a part of hildon
3  *
4  * Copyright (C) 2008 Nokia Corporation, all rights reserved.
5  *
6  * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser Public License as published by
10  * the Free Software Foundation; version 2 of the license.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU Lesser Public License for more details.
16  *
17  */
18
19 #ifndef                                         __HILDON_APP_MENU_PRIVATE_H__
20 #define                                         __HILDON_APP_MENU_PRIVATE_H__
21
22 G_BEGIN_DECLS
23
24 #define                                         HILDON_APP_MENU_GET_PRIVATE(obj) \
25                                                 (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
26                                                 HILDON_TYPE_APP_MENU, HildonAppMenuPrivate));
27
28 struct                                          _HildonAppMenuPrivate
29 {
30     GtkBox *filters_hbox;
31     GtkBox *vbox;
32     GtkTable *table;
33     GtkWindow *parent_window;
34     GdkWindow *transfer_window;
35     gboolean pressed_outside;
36     gboolean inhibit_repack;
37     GtkButton *last_pressed_button;
38     GList *buttons;
39     GList *filters;
40     guint columns;
41     gint width_request;
42     guint find_intruder_idle_id;
43     guint hide_idle_id;
44 };
45
46 void G_GNUC_INTERNAL
47 hildon_app_menu_set_parent_window              (HildonAppMenu *self,
48                                                 GtkWindow     *parent_window);
49
50 gpointer G_GNUC_INTERNAL
51 hildon_app_menu_get_parent_window              (HildonAppMenu *self);
52
53 G_END_DECLS
54
55 #endif /* __HILDON_APP_MENU_PRIVATE_H__ */