2004-07-12 16:38:04 +00:00
|
|
|
/* GTK - The GIMP Toolkit
|
|
|
|
|
|
|
|
Copyright (C) 2001 CodeFactory AB
|
|
|
|
Copyright (C) 2001 Anders Carlsson <andersca@codefactory.se>
|
|
|
|
Copyright (C) 2003, 2004 Matthias Clasen <mclasen@redhat.com>
|
|
|
|
|
|
|
|
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 the Gnome Library; see the file COPYING.LIB. If not,
|
|
|
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
Author: Anders Carlsson <andersca@codefactory.se>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GTK_ABOUT_DIALOG_H__
|
|
|
|
#define __GTK_ABOUT_DIALOG_H__
|
|
|
|
|
|
|
|
#include <gtk/gtkdialog.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define GTK_TYPE_ABOUT_DIALOG (gtk_about_dialog_get_type ())
|
|
|
|
#define GTK_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog))
|
|
|
|
#define GTK_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass))
|
|
|
|
#define GTK_IS_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ABOUT_DIALOG))
|
|
|
|
#define GTK_IS_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ABOUT_DIALOG))
|
|
|
|
#define GTK_ABOUT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass))
|
|
|
|
|
|
|
|
typedef struct _GtkAboutDialog GtkAboutDialog;
|
|
|
|
typedef struct _GtkAboutDialogClass GtkAboutDialogClass;
|
|
|
|
|
|
|
|
struct _GtkAboutDialog
|
|
|
|
{
|
|
|
|
GtkDialog parent_instance;
|
|
|
|
|
|
|
|
/*< private >*/
|
|
|
|
gpointer private_data;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _GtkAboutDialogClass
|
|
|
|
{
|
|
|
|
GtkDialogClass parent_class;
|
|
|
|
|
|
|
|
/* Padding for future expansion */
|
|
|
|
void (*_gtk_reserved1) (void);
|
|
|
|
void (*_gtk_reserved2) (void);
|
|
|
|
void (*_gtk_reserved3) (void);
|
|
|
|
void (*_gtk_reserved4) (void);
|
|
|
|
};
|
|
|
|
|
|
|
|
GType gtk_about_dialog_get_type (void) G_GNUC_CONST;
|
|
|
|
GtkWidget *gtk_about_dialog_new (void);
|
|
|
|
void gtk_show_about_dialog (GtkWindow *parent,
|
|
|
|
const gchar *first_property_name,
|
2005-03-08 05:52:55 +00:00
|
|
|
...) G_GNUC_NULL_TERMINATED;
|
2004-07-12 16:38:04 +00:00
|
|
|
|
2007-05-14 18:33:53 +00:00
|
|
|
#ifndef GTK_DISABLE_DEPRECATED
|
2004-07-12 16:38:04 +00:00
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_name (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_name (GtkAboutDialog *about,
|
|
|
|
const gchar *name);
|
2007-05-14 18:33:53 +00:00
|
|
|
#endif /* GTK_DISABLE_DEPRECATED */
|
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_program_name (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_program_name (GtkAboutDialog *about,
|
|
|
|
const gchar *name);
|
2004-07-12 16:38:04 +00:00
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_version (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_version (GtkAboutDialog *about,
|
|
|
|
const gchar *version);
|
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_copyright (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_copyright (GtkAboutDialog *about,
|
|
|
|
const gchar *copyright);
|
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_comments (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_comments (GtkAboutDialog *about,
|
|
|
|
const gchar *comments);
|
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_license (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_license (GtkAboutDialog *about,
|
|
|
|
const gchar *license);
|
2005-07-05 14:53:37 +00:00
|
|
|
|
|
|
|
gboolean gtk_about_dialog_get_wrap_license (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_wrap_license (GtkAboutDialog *about,
|
|
|
|
gboolean wrap_license);
|
|
|
|
|
2004-07-12 16:38:04 +00:00
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_website (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_website (GtkAboutDialog *about,
|
|
|
|
const gchar *website);
|
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_website_label (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_website_label (GtkAboutDialog *about,
|
|
|
|
const gchar *website_label);
|
2004-11-12 17:52:08 +00:00
|
|
|
G_CONST_RETURN gchar* G_CONST_RETURN * gtk_about_dialog_get_authors (GtkAboutDialog *about);
|
2004-07-12 16:38:04 +00:00
|
|
|
void gtk_about_dialog_set_authors (GtkAboutDialog *about,
|
2004-11-08 18:37:29 +00:00
|
|
|
const gchar **authors);
|
2004-11-12 17:52:08 +00:00
|
|
|
G_CONST_RETURN gchar* G_CONST_RETURN * gtk_about_dialog_get_documenters (GtkAboutDialog *about);
|
2004-07-12 16:38:04 +00:00
|
|
|
void gtk_about_dialog_set_documenters (GtkAboutDialog *about,
|
2004-11-08 18:37:29 +00:00
|
|
|
const gchar **documenters);
|
2004-11-12 17:52:08 +00:00
|
|
|
G_CONST_RETURN gchar* G_CONST_RETURN * gtk_about_dialog_get_artists (GtkAboutDialog *about);
|
2004-07-12 16:38:04 +00:00
|
|
|
void gtk_about_dialog_set_artists (GtkAboutDialog *about,
|
2004-11-08 18:37:29 +00:00
|
|
|
const gchar **artists);
|
2004-07-12 16:38:04 +00:00
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_translator_credits (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_translator_credits (GtkAboutDialog *about,
|
|
|
|
const gchar *translator_credits);
|
|
|
|
GdkPixbuf *gtk_about_dialog_get_logo (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_logo (GtkAboutDialog *about,
|
|
|
|
GdkPixbuf *logo);
|
2004-10-25 18:41:11 +00:00
|
|
|
G_CONST_RETURN gchar *gtk_about_dialog_get_logo_icon_name (GtkAboutDialog *about);
|
|
|
|
void gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about,
|
|
|
|
const gchar *icon_name);
|
2004-07-12 16:38:04 +00:00
|
|
|
|
|
|
|
typedef void (* GtkAboutDialogActivateLinkFunc) (GtkAboutDialog *about,
|
2007-06-04 18:57:55 +00:00
|
|
|
const gchar *link_,
|
2004-08-13 01:10:38 +00:00
|
|
|
gpointer data);
|
|
|
|
|
|
|
|
GtkAboutDialogActivateLinkFunc gtk_about_dialog_set_email_hook (GtkAboutDialogActivateLinkFunc func,
|
|
|
|
gpointer data,
|
|
|
|
GDestroyNotify destroy);
|
|
|
|
GtkAboutDialogActivateLinkFunc gtk_about_dialog_set_url_hook (GtkAboutDialogActivateLinkFunc func,
|
|
|
|
gpointer data,
|
|
|
|
GDestroyNotify destroy);
|
2004-07-12 16:38:04 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_ABOUT_DIALOG_H__ */
|
|
|
|
|
|
|
|
|