Ardour  9.0-pre0-582-g084a23a80d
gtkaboutdialog.h
Go to the documentation of this file.
1 /* GTK - The GIMP Toolkit
2 
3  Copyright (C) 2001 CodeFactory AB
4  Copyright (C) 2001 Anders Carlsson <andersca@codefactory.se>
5  Copyright (C) 2003, 2004 Matthias Clasen <mclasen@redhat.com>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public License as
9  published by the Free Software Foundation; either version 2 of the
10  License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public
18  License along with the Gnome Library; see the file COPYING.LIB. If not,
19  write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  Boston, MA 02111-1307, USA.
21 
22  Author: Anders Carlsson <andersca@codefactory.se>
23 */
24 
25 #ifndef __GTK_ABOUT_DIALOG_H__
26 #define __GTK_ABOUT_DIALOG_H__
27 
28 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
29 #error "Only <gtk/gtk.h> can be included directly."
30 #endif
31 
32 #include <gtk/gtkdialog.h>
33 
34 G_BEGIN_DECLS
35 
36 #define GTK_TYPE_ABOUT_DIALOG (gtk_about_dialog_get_type ())
37 #define GTK_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog))
38 #define GTK_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass))
39 #define GTK_IS_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ABOUT_DIALOG))
40 #define GTK_IS_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ABOUT_DIALOG))
41 #define GTK_ABOUT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass))
42 
43 typedef struct _GtkAboutDialog GtkAboutDialog;
45 
53 {
55 
56  /*< private >*/
57  gpointer GSEAL (private_data);
58 };
59 
61 {
63 
64  gboolean (*activate_link) (GtkAboutDialog *dialog,
65  const gchar *uri);
66 
67  /* Padding for future expansion */
68  void (*_gtk_reserved1) (void);
69  void (*_gtk_reserved2) (void);
70  void (*_gtk_reserved3) (void);
71 };
72 
73 GType gtk_about_dialog_get_type (void) G_GNUC_CONST;
76  const gchar *first_property_name,
77  ...) G_GNUC_NULL_TERMINATED;
78 
79 #ifndef GTK_DISABLE_DEPRECATED
82  const gchar *name);
83 #endif /* GTK_DISABLE_DEPRECATED */
86  const gchar *name);
89  const gchar *version);
92  const gchar *copyright);
95  const gchar *comments);
98  const gchar *license);
99 
102  gboolean wrap_license);
103 
106  const gchar *website);
109  const gchar *website_label);
110 const gchar* const * gtk_about_dialog_get_authors (GtkAboutDialog *about);
112  const gchar **authors);
113 const gchar* const * gtk_about_dialog_get_documenters (GtkAboutDialog *about);
115  const gchar **documenters);
116 const gchar* const * gtk_about_dialog_get_artists (GtkAboutDialog *about);
118  const gchar **artists);
121  const gchar *translator_credits);
124  GdkPixbuf *logo);
127  const gchar *icon_name);
128 
141  const gchar *link_,
142  gpointer data);
143 
144 #ifndef GTK_DISABLE_DEPRECATED
146  gpointer data,
147  GDestroyNotify destroy);
149  gpointer data,
150  GDestroyNotify destroy);
151 #endif
152 
153 G_END_DECLS
154 
155 #endif /* __GTK_ABOUT_DIALOG_H__ */
156 
157 
void gtk_about_dialog_set_website(GtkAboutDialog *about, const gchar *website)
void gtk_about_dialog_set_license(GtkAboutDialog *about, const gchar *license)
void gtk_about_dialog_set_logo(GtkAboutDialog *about, GdkPixbuf *logo)
const gchar * gtk_about_dialog_get_name(GtkAboutDialog *about)
gboolean gtk_about_dialog_get_wrap_license(GtkAboutDialog *about)
void gtk_about_dialog_set_logo_icon_name(GtkAboutDialog *about, const gchar *icon_name)
const gchar * gtk_about_dialog_get_comments(GtkAboutDialog *about)
const gchar * gtk_about_dialog_get_license(GtkAboutDialog *about)
const gchar * gtk_about_dialog_get_website_label(GtkAboutDialog *about)
void gtk_about_dialog_set_version(GtkAboutDialog *about, const gchar *version)
const gchar *const * gtk_about_dialog_get_documenters(GtkAboutDialog *about)
void gtk_about_dialog_set_documenters(GtkAboutDialog *about, const gchar **documenters)
GType gtk_about_dialog_get_type(void) G_GNUC_CONST
const gchar *const * gtk_about_dialog_get_artists(GtkAboutDialog *about)
GtkWidget * gtk_about_dialog_new(void)
void gtk_about_dialog_set_authors(GtkAboutDialog *about, const gchar **authors)
const gchar * gtk_about_dialog_get_translator_credits(GtkAboutDialog *about)
void gtk_show_about_dialog(GtkWindow *parent, const gchar *first_property_name,...) G_GNUC_NULL_TERMINATED
void gtk_about_dialog_set_wrap_license(GtkAboutDialog *about, gboolean wrap_license)
const gchar * gtk_about_dialog_get_logo_icon_name(GtkAboutDialog *about)
void gtk_about_dialog_set_name(GtkAboutDialog *about, const gchar *name)
void gtk_about_dialog_set_website_label(GtkAboutDialog *about, const gchar *website_label)
const gchar * gtk_about_dialog_get_program_name(GtkAboutDialog *about)
void gtk_about_dialog_set_artists(GtkAboutDialog *about, const gchar **artists)
void gtk_about_dialog_set_copyright(GtkAboutDialog *about, const gchar *copyright)
GtkAboutDialogActivateLinkFunc gtk_about_dialog_set_url_hook(GtkAboutDialogActivateLinkFunc func, gpointer data, GDestroyNotify destroy)
const gchar *const * gtk_about_dialog_get_authors(GtkAboutDialog *about)
void(* GtkAboutDialogActivateLinkFunc)(GtkAboutDialog *about, const gchar *link_, gpointer data)
void gtk_about_dialog_set_translator_credits(GtkAboutDialog *about, const gchar *translator_credits)
GdkPixbuf * gtk_about_dialog_get_logo(GtkAboutDialog *about)
const gchar * gtk_about_dialog_get_copyright(GtkAboutDialog *about)
const gchar * gtk_about_dialog_get_website(GtkAboutDialog *about)
void gtk_about_dialog_set_comments(GtkAboutDialog *about, const gchar *comments)
const gchar * gtk_about_dialog_get_version(GtkAboutDialog *about)
GtkAboutDialogActivateLinkFunc gtk_about_dialog_set_email_hook(GtkAboutDialogActivateLinkFunc func, gpointer data, GDestroyNotify destroy)
void gtk_about_dialog_set_program_name(GtkAboutDialog *about, const gchar *name)
GtkImageIconNameData name
Definition: gtkimage.h:6
void(* _gtk_reserved3)(void)
void(* _gtk_reserved2)(void)
gboolean(* activate_link)(GtkAboutDialog *dialog, const gchar *uri)
void(* _gtk_reserved1)(void)
GtkDialogClass parent_class
GtkDialog parent_instance
gpointer GSEAL(private_data)