Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
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 this library. If not, see <http://www.gnu.org/licenses/>.
19
20 Author: Anders Carlsson <andersca@codefactory.se>
21*/
22
23#pragma once
24
25#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
26#error "Only <gtk/gtk.h> can be included directly."
27#endif
28
29#include <gtk/gtkwindow.h>
30
32
33#define GTK_TYPE_ABOUT_DIALOG (gtk_about_dialog_get_type ())
34#define GTK_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog))
35#define GTK_IS_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ABOUT_DIALOG))
36
37typedef struct _GtkAboutDialog GtkAboutDialog;
38
39/**
40 * GtkLicense:
41 * @GTK_LICENSE_UNKNOWN: No license specified
42 * @GTK_LICENSE_CUSTOM: A license text is going to be specified by the
43 * developer
44 * @GTK_LICENSE_GPL_2_0: The GNU General Public License, version 2.0 or later
45 * @GTK_LICENSE_GPL_3_0: The GNU General Public License, version 3.0 or later
46 * @GTK_LICENSE_LGPL_2_1: The GNU Lesser General Public License, version 2.1 or later
47 * @GTK_LICENSE_LGPL_3_0: The GNU Lesser General Public License, version 3.0 or later
48 * @GTK_LICENSE_BSD: The BSD standard license
49 * @GTK_LICENSE_MIT_X11: The MIT/X11 standard license
50 * @GTK_LICENSE_ARTISTIC: The Artistic License, version 2.0
51 * @GTK_LICENSE_GPL_2_0_ONLY: The GNU General Public License, version 2.0 only
52 * @GTK_LICENSE_GPL_3_0_ONLY: The GNU General Public License, version 3.0 only
53 * @GTK_LICENSE_LGPL_2_1_ONLY: The GNU Lesser General Public License, version 2.1 only
54 * @GTK_LICENSE_LGPL_3_0_ONLY: The GNU Lesser General Public License, version 3.0 only
55 * @GTK_LICENSE_AGPL_3_0: The GNU Affero General Public License, version 3.0 or later
56 * @GTK_LICENSE_AGPL_3_0_ONLY: The GNU Affero General Public License, version 3.0 only
57 * @GTK_LICENSE_BSD_3: The 3-clause BSD licence
58 * @GTK_LICENSE_APACHE_2_0: The Apache License, version 2.0
59 * @GTK_LICENSE_MPL_2_0: The Mozilla Public License, version 2.0
60 * @GTK_LICENSE_0BSD: Zero-Clause BSD license
61 *
62 * The type of license for an application.
63 *
64 * This enumeration can be expanded at later date.
65 */
94
95
102 const char *first_property_name,
108 const char *name);
113 const char *version);
118 const char *copyright);
123 const char *comments);
128 const char *license);
131 GtkLicense license_type);
134
139 gboolean wrap_license);
140
145 const char *system_information);
150 const char *website);
155 const char *website_label);
157const char * const * gtk_about_dialog_get_authors (GtkAboutDialog *about);
160 const char **authors);
165 const char **documenters);
167const char * const * gtk_about_dialog_get_artists (GtkAboutDialog *about);
170 const char **artists);
175 const char *translator_credits);
180 GdkPaintable *logo);
185 const char *icon_name);
188 const char *section_name,
189 const char **people);
190
192
194
195
196
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_GNUC_NULL_TERMINATED
Definition gmacros.h:326
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_license(GtkAboutDialog *about, const char *license)
struct _GtkAboutDialog GtkAboutDialog
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_logo_icon_name(GtkAboutDialog *about, const char *icon_name)
GDK_AVAILABLE_IN_ALL GtkLicense gtk_about_dialog_get_license_type(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_authors(GtkAboutDialog *about, const char **authors)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_website_label(GtkAboutDialog *about, const char *website_label)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_program_name(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_logo(GtkAboutDialog *about, GdkPaintable *logo)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_website(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_system_information(GtkAboutDialog *about, const char *system_information)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_copyright(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_version(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_documenters(GtkAboutDialog *about, const char **documenters)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_artists(GtkAboutDialog *about, const char **artists)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_comments(GtkAboutDialog *about, const char *comments)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_about_dialog_new(void)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_system_information(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL gboolean gtk_about_dialog_get_wrap_license(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_logo_icon_name(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_license(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL const char *const * gtk_about_dialog_get_documenters(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_license_type(GtkAboutDialog *about, GtkLicense license_type)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_translator_credits(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_wrap_license(GtkAboutDialog *about, gboolean wrap_license)
GDK_AVAILABLE_IN_ALL const char *const * gtk_about_dialog_get_artists(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_show_about_dialog(GtkWindow *parent, const char *first_property_name,...) G_GNUC_NULL_TERMINATED
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_copyright(GtkAboutDialog *about, const char *copyright)
GDK_AVAILABLE_IN_ALL const char *const * gtk_about_dialog_get_authors(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_translator_credits(GtkAboutDialog *about, const char *translator_credits)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_add_credit_section(GtkAboutDialog *about, const char *section_name, const char **people)
GtkLicense
@ GTK_LICENSE_MPL_2_0
@ GTK_LICENSE_UNKNOWN
@ GTK_LICENSE_CUSTOM
@ GTK_LICENSE_GPL_3_0
@ GTK_LICENSE_APACHE_2_0
@ GTK_LICENSE_BSD_3
@ GTK_LICENSE_LGPL_2_1_ONLY
@ GTK_LICENSE_GPL_2_0_ONLY
@ GTK_LICENSE_MIT_X11
@ GTK_LICENSE_0BSD
@ GTK_LICENSE_LGPL_3_0
@ GTK_LICENSE_ARTISTIC
@ GTK_LICENSE_LGPL_3_0_ONLY
@ GTK_LICENSE_AGPL_3_0_ONLY
@ GTK_LICENSE_AGPL_3_0
@ GTK_LICENSE_BSD
@ GTK_LICENSE_GPL_3_0_ONLY
@ GTK_LICENSE_GPL_2_0
@ GTK_LICENSE_LGPL_2_1
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_program_name(GtkAboutDialog *about, const char *name)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_website_label(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL const char * gtk_about_dialog_get_comments(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_website(GtkAboutDialog *about, const char *website)
GDK_AVAILABLE_IN_ALL GType gtk_about_dialog_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GdkPaintable * gtk_about_dialog_get_logo(GtkAboutDialog *about)
GDK_AVAILABLE_IN_ALL void gtk_about_dialog_set_version(GtkAboutDialog *about, const char *version)
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
const char * name
Definition lsqlite3.c:2154