/usr/include/libgnomeui-2.0/libgnomeui/gnome-popup-menu.h is in libgnomeui-dev 2.24.5-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | /* 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_POPUPMENU_H
#define GNOME_POPUPMENU_H
#ifndef GNOME_DISABLE_DEPRECATED
#include <gtk/gtk.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 /* GNOME_DISABLE_DEPRECATED */
#endif /* GNOME_POPUPMENU_H */
|