aboutsummaryrefslogtreecommitdiff
path: root/src/gtk26about.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk26about.h')
-rw-r--r--src/gtk26about.h117
1 files changed, 0 insertions, 117 deletions
diff --git a/src/gtk26about.h b/src/gtk26about.h
deleted file mode 100644
index 1f986302..00000000
--- a/src/gtk26about.h
+++ /dev/null
@@ -1,117 +0,0 @@
1/* This code was copied from GTK (2.6/CVS).
2
3 GTK - The GIMP Toolkit
4
5 Copyright (C) 2001 CodeFactory AB
6 Copyright (C) 2001 Anders Carlsson <andersca@codefactory.se>
7 Copyright (C) 2003, 2004 Matthias Clasen <mclasen@redhat.com>
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public License as
11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version.
13
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Library General Public License for more details.
18
19 You should have received a copy of the GNU Library General Public
20 License along with the Gnome Library; see the file COPYING.LIB. If not,
21 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA.
23
24 Author: Anders Carlsson <andersca@codefactory.se>
25
26*/
27
28#ifndef __GTK_ABOUT_DIALOG_H__
29#define __GTK_ABOUT_DIALOG_H__
30
31#include <gtk/gtkdialog.h>
32
33G_BEGIN_DECLS
34
35#define GTK_TYPE_ABOUT_DIALOG (gtk_about_dialog_get_type ())
36#define GTK_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog))
37#define GTK_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass))
38#define GTK_IS_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ABOUT_DIALOG))
39#define GTK_IS_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ABOUT_DIALOG))
40#define GTK_ABOUT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass))
41
42typedef struct _GtkAboutDialog GtkAboutDialog;
43typedef struct _GtkAboutDialogClass GtkAboutDialogClass;
44
45struct _GtkAboutDialog
46{
47 GtkDialog parent_instance;
48
49 /*< private >*/
50 gpointer private_data;
51};
52
53struct _GtkAboutDialogClass
54{
55 GtkDialogClass parent_class;
56
57 /* Padding for future expansion */
58 void (*_gtk_reserved1) (void);
59 void (*_gtk_reserved2) (void);
60 void (*_gtk_reserved3) (void);
61 void (*_gtk_reserved4) (void);
62};
63
64GType gtk_about_dialog_get_type (void) G_GNUC_CONST;
65GtkWidget *gtk_about_dialog_new (void);
66void gtk_show_about_dialog (GtkWindow *parent,
67 const gchar *first_property_name,
68 ...);
69
70G_CONST_RETURN gchar *gtk_about_dialog_get_name (GtkAboutDialog *about);
71void gtk_about_dialog_set_name (GtkAboutDialog *about,
72 const gchar *name);
73G_CONST_RETURN gchar *gtk_about_dialog_get_version (GtkAboutDialog *about);
74void gtk_about_dialog_set_version (GtkAboutDialog *about,
75 const gchar *version);
76G_CONST_RETURN gchar *gtk_about_dialog_get_copyright (GtkAboutDialog *about);
77void gtk_about_dialog_set_copyright (GtkAboutDialog *about,
78 const gchar *copyright);
79G_CONST_RETURN gchar *gtk_about_dialog_get_comments (GtkAboutDialog *about);
80void gtk_about_dialog_set_comments (GtkAboutDialog *about,
81 const gchar *comments);
82G_CONST_RETURN gchar *gtk_about_dialog_get_license (GtkAboutDialog *about);
83void gtk_about_dialog_set_license (GtkAboutDialog *about,
84 const gchar *license);
85G_CONST_RETURN gchar *gtk_about_dialog_get_website (GtkAboutDialog *about);
86void gtk_about_dialog_set_website (GtkAboutDialog *about,
87 const gchar *website);
88G_CONST_RETURN gchar *gtk_about_dialog_get_website_label (GtkAboutDialog *about);
89void gtk_about_dialog_set_website_label (GtkAboutDialog *about,
90 const gchar *website_label);
91gchar **gtk_about_dialog_get_authors (GtkAboutDialog *about);
92void gtk_about_dialog_set_authors (GtkAboutDialog *about,
93 gchar **authors);
94gchar **gtk_about_dialog_get_documenters (GtkAboutDialog *about);
95void gtk_about_dialog_set_documenters (GtkAboutDialog *about,
96 gchar **documenters);
97gchar ** gtk_about_dialog_get_artists (GtkAboutDialog *about);
98void gtk_about_dialog_set_artists (GtkAboutDialog *about,
99 gchar **artists);
100G_CONST_RETURN gchar *gtk_about_dialog_get_translator_credits (GtkAboutDialog *about);
101void gtk_about_dialog_set_translator_credits (GtkAboutDialog *about,
102 const gchar *translator_credits);
103GdkPixbuf *gtk_about_dialog_get_logo (GtkAboutDialog *about);
104void gtk_about_dialog_set_logo (GtkAboutDialog *about,
105 GdkPixbuf *logo);
106
107typedef void (* GtkAboutDialogActivateLinkFunc) (GtkAboutDialog *about,
108 const gchar *link);
109
110GtkAboutDialogActivateLinkFunc gtk_about_dialog_set_email_hook (GtkAboutDialogActivateLinkFunc func);
111GtkAboutDialogActivateLinkFunc gtk_about_dialog_set_url_hook (GtkAboutDialogActivateLinkFunc func);
112
113G_END_DECLS
114
115#endif /* __GTK_ABOUT_DIALOG_H__ */
116
117