/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-dialogs.h is in libxfce4ui-2-dev 4.13.4-1ubuntu1.
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | /*
* Copyright (c) 2007 The Xfce Development Team
*
* 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., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
#if !defined (LIBXFCE4UI_INSIDE_LIBXFCE4UI_H) && !defined (LIBXFCE4UI_COMPILATION)
#error "Only <libxfce4ui/libxfce4ui.h> can be included directly, this file is not part of the public API."
#endif
#ifndef __XFCE_DIALOGS_H__
#define __XFCE_DIALOGS_H__
#include <gtk/gtk.h>
G_BEGIN_DECLS
/**
* XFCE_BUTTON_TYPE_MIXED:
*
* This allows you to easily create mixed buttons in a dialog.
* param1 is used for the stock_id, param2 for the label and
* param3 for the response_id. See also xfce_gtk_button_new_mixed().
*
**/
#define XFCE_BUTTON_TYPE_MIXED "button-mixed"
/**
* XFCE_BUTTON_TYPE_PIXBUF:
*
* Creates a button with the #GdkPixbuf as button icon.
* param1 is the #GdkPixuf, param2 for the label and
* param3 for the response_id.
*
**/
#define XFCE_BUTTON_TYPE_PIXBUF "button-pixbuf"
void xfce_dialog_show_help (GtkWindow *parent,
const gchar *component,
const gchar *page,
const gchar *offset);
void xfce_dialog_show_help_with_version (GtkWindow *parent,
const gchar *component,
const gchar *page,
const gchar *offset,
const gchar *version);
void xfce_dialog_show_info (GtkWindow *parent,
const gchar *secondary_text,
const gchar *primary_format,
...) G_GNUC_PRINTF (3, 4);
void xfce_dialog_show_warning (GtkWindow *parent,
const gchar *secondary_text,
const gchar *primary_format,
...) G_GNUC_PRINTF (3, 4);
void xfce_dialog_show_error (GtkWindow *parent,
const GError *error,
const gchar *primary_format,
...) G_GNUC_PRINTF (3, 4);
gboolean xfce_dialog_confirm (GtkWindow *parent,
const gchar *stock_id,
const gchar *confirm_label,
const gchar *secondary_text,
const gchar *primary_format,
...) G_GNUC_PRINTF (5, 6);
GtkWidget *xfce_message_dialog_new_valist (GtkWindow *parent,
const gchar *title,
const gchar *icon_stock_id,
const gchar *primary_text,
const gchar *secondary_text,
const gchar *first_button_text,
va_list args) G_GNUC_MALLOC;
GtkWidget *xfce_message_dialog_new (GtkWindow *parent,
const gchar *title,
const gchar *stock_id,
const gchar *primary_text,
const gchar *secondary_text,
const gchar *first_button_text,
...) G_GNUC_NULL_TERMINATED G_GNUC_MALLOC;
gint xfce_message_dialog (GtkWindow *parent,
const gchar *title,
const gchar *stock_id,
const gchar *primary_text,
const gchar *secondary_text,
const gchar *first_button_text,
...) G_GNUC_NULL_TERMINATED;
G_END_DECLS
#endif /* !__XFCE_DIALOGS_H__ */
|