1 /* 2 * This file is part of Amtk - Actions, Menus and Toolbars Kit 3 * 4 * Copyright 2017 - Sébastien Wilmet <swilmet@gnome.org> 5 * 6 * Amtk is free software; you can redistribute it and/or modify it under 7 * the terms of the GNU Lesser General Public License as published by the 8 * Free Software Foundation; either version 2.1 of the License, or (at your 9 * option) any later version. 10 * 11 * Amtk is distributed in the hope that it will be useful, but WITHOUT ANY 12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 14 * License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public License 17 * along with this library; if not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef AMTK_MENU_ITEM_H 21 #define AMTK_MENU_ITEM_H 22 23 #if !defined (AMTK_H_INSIDE) && !defined (AMTK_COMPILATION) 24 #error "Only <amtk/amtk.h> can be included directly." 25 #endif 26 27 #include <gtk/gtk.h> 28 #include <amtk/amtk-types.h> 29 30 G_BEGIN_DECLS 31 32 _AMTK_EXTERN 33 const gchar * amtk_menu_item_get_long_description (GtkMenuItem *menu_item); 34 35 _AMTK_EXTERN 36 void amtk_menu_item_set_long_description (GtkMenuItem *menu_item, 37 const gchar *long_description); 38 39 _AMTK_EXTERN 40 void amtk_menu_item_set_icon_name (GtkMenuItem *item, 41 const gchar *icon_name); 42 43 G_END_DECLS 44 45 #endif /* AMTK_MENU_ITEM_H */ 46