|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/root/usr/include/libgnomeui-2.0/libgnomeui/ |
Upload File : |
/* Popup menus for GNOME * * Copyright (C) 1998 Mark Crichton * All rights reserved * * Authors: Mark Crichton <mcrichto@purdue.edu> * Federico Mena <federico@nuclecu.unam.mx> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Cambridge, MA 02139, USA. */ /* @NOTATION@ */ #ifndef GNOME_DISABLE_DEPRECATED #ifndef GNOME_POPUPMENU_H #define GNOME_POPUPMENU_H #include <gtk/gtkmenu.h> #include <libgnomeui/gnome-app.h> #include <libgnomeui/gnome-app-helper.h> G_BEGIN_DECLS /* These routines are documented in gnome-popup-menu.c */ GtkWidget *gnome_popup_menu_new (GnomeUIInfo *uiinfo); GtkWidget *gnome_popup_menu_new_with_accelgroup (GnomeUIInfo *uiinfo, GtkAccelGroup *accelgroup); GtkAccelGroup *gnome_popup_menu_get_accel_group(GtkMenu *menu); void gnome_popup_menu_attach (GtkWidget *popup, GtkWidget *widget, gpointer user_data); void gnome_popup_menu_do_popup (GtkWidget *popup, GtkMenuPositionFunc pos_func, gpointer pos_data, GdkEventButton *event, gpointer user_data, GtkWidget *for_widget); int gnome_popup_menu_do_popup_modal (GtkWidget *popup, GtkMenuPositionFunc pos_func, gpointer pos_data, GdkEventButton *event, gpointer user_data, GtkWidget *for_widget); void gnome_popup_menu_append (GtkWidget *popup, GnomeUIInfo *uiinfo); /*** This layer, on top of the gnome_popup_menu_*() routines, defines a standard way of listing items on a widget's popup ****/ void gnome_gtk_widget_add_popup_items (GtkWidget *widget, GnomeUIInfo *uiinfo, gpointer user_data); G_END_DECLS #endif #endif /* GNOME_DISABLE_DEPRECATED */