X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=hildon%2Fhildon-app-menu-private.h;fp=hildon%2Fhildon-app-menu-private.h;h=dc9ba076e947b43194b7de3cc320208172b7e755;hb=69a11338fe0cc36a868e5812b590f5437622988a;hp=0000000000000000000000000000000000000000;hpb=8a970bcc0a22925ed90b869c8f7c1ba521e189ac;p=hildon diff --git a/hildon/hildon-app-menu-private.h b/hildon/hildon-app-menu-private.h new file mode 100644 index 0000000..dc9ba07 --- /dev/null +++ b/hildon/hildon-app-menu-private.h @@ -0,0 +1,53 @@ +/* + * This file is a part of hildon + * + * Copyright (C) 2008 Nokia Corporation, all rights reserved. + * + * Contact: Rodrigo Novo + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser Public License as published by + * the Free Software Foundation; version 2 of the license. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser Public License for more details. + * + */ + +#ifndef __HILDON_APP_MENU_PRIVATE_H__ +#define __HILDON_APP_MENU_PRIVATE_H__ + +G_BEGIN_DECLS + +#define HILDON_APP_MENU_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \ + HILDON_TYPE_APP_MENU, HildonAppMenuPrivate)); + +struct _HildonAppMenuPrivate +{ + GtkBox *filters_hbox; + GtkBox *vbox; + GtkTable *table; + GtkWindow *parent_window; + GdkWindow *transfer_window; + gboolean pressed_outside; + GList *buttons; + GList *filters; + guint columns; + gint width_request; + guint find_intruder_idle_id; + guint hide_idle_id; +}; + +void G_GNUC_INTERNAL +hildon_app_menu_set_parent_window (HildonAppMenu *self, + GtkWindow *parent_window); + +gpointer G_GNUC_INTERNAL +hildon_app_menu_get_parent_window (HildonAppMenu *self); + +G_END_DECLS + +#endif /* __HILDON_APP_MENU_PRIVATE_H__ */