grim/guifications2

Initial support for building the installer
draft default tip
2021-05-19, Gary Kramlich
e60a596742b7
Initial support for building the installer
/*
* Guifications - The end all, be all, toaster popup plugin
* Copyright (C) 2003-2008 Gary Kramlich
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
*/
#ifndef GF_MENU_H
#define GF_MENU_H
#include <gtk/gtk.h>
typedef GtkWidget *(*GfMenuItemBuilder)(GtkWidget *menu, gint num, void *data);
G_BEGIN_DECLS
GtkWidget *gf_menu_build(GfMenuItemBuilder builder, void *data);
GtkWidget *gf_menu_position(GtkWidget *menu, gint item, void *data);
GtkWidget *gf_menu_mouse(GtkWidget *menu, gint item, void *data);
GtkWidget *gf_menu_event(GtkWidget *menu, gint item, void *data);
GtkWidget *gf_menu_item_position(GtkWidget *menu, gint item, void *data);
GtkWidget *gf_menu_item_type(GtkWidget *menu, gint item, void *data);
GtkWidget *gf_menu_item_icon_type(GtkWidget *menu, gint item, void *data);
GtkWidget *gf_menu_item_icon_size(GtkWidget *menu, gint item, void *data);
GtkWidget *gf_menu_item_text_clipping(GtkWidget *menu, gint item, void *data);
G_END_DECLS
#endif