GnomeAbout

GnomeAbout

Functions

Properties

GValueArray * authors Write
gchar * comments Read / Write
gchar * copyright Read / Write
GValueArray * documenters Write
GdkPixbuf * logo Write
gchar * name Read / Write
gchar * translator-credits Read / Write
gchar * version Read / Write

Types and Values

struct GnomeAbout

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkWindow
                            ╰── GtkDialog
                                ╰── GnomeAbout

Implemented Interfaces

GnomeAbout implements AtkImplementorIface and GtkBuildable.

Includes

#include <libgnomeui/libgnomeui.h>

Description

Functions

gnome_about_new ()

GtkWidget *
gnome_about_new (const gchar *name,
                 const gchar *version,
                 const gchar *copyright,
                 const gchar *comments,
                 const gchar **authors,
                 const gchar **documenters,
                 const gchar *translator_credits,
                 GdkPixbuf *logo_pixbuf);

gnome_about_new is deprecated and should not be used in newly-written code.

Construct an application's credits box. The authors array cannot be empty and the translator_credits should be marked as a translatable string (so that only the translator for the currently active locale is displayed).

Parameters

name

The name of the application.

 

version

The version string of the application.

 

copyright

The application's copyright statement.

 

comments

A short miscellaneous string.

 

authors

An NULL terminated array of the application authors.

 

documenters

An array of the application documenters.

 

translator_credits

The translator for the current locale.

 

logo_pixbuf

The application's logo.

 

Returns

A new "About" dialog.


gnome_about_construct ()

void
gnome_about_construct (GnomeAbout *about,
                       const gchar *name,
                       const gchar *version,
                       const gchar *copyright,
                       const gchar *comments,
                       const gchar **authors,
                       const gchar **documenters,
                       const gchar *translator_credits,
                       GdkPixbuf *logo_pixbuf);

gnome_about_construct is deprecated and should not be used in newly-written code.

Similar to gnome_about_new() except that the pre-existing about widget is used. Note that in this version of the function, authors is not checked to be non-NULL, so callers must be careful, since bad things will happen if this condition is not met.

Parameters

about

An existing GnomeAbout instance.

 

name

The name of the application.

 

version

The version string of the application.

 

copyright

The application's copyright statement.

 

comments

A short miscellaneous string.

 

authors

An NULL terminated array of the application authors.

 

documenters

An array of the application documenters.

 

translator_credits

The translator for the current locale.

 

logo_pixbuf

The application's logo.

 

Types and Values

struct GnomeAbout

struct GnomeAbout;

GnomeAbout is deprecated and should not be used in newly-written code.

Property Details

The “authors” property

  “authors”                  GValueArray *

List of authors of the programs.

Flags: Write


The “comments” property

  “comments”                 gchar *

Comments about the program.

Flags: Read / Write

Default value: NULL


The “copyright” property

  “copyright”                gchar *

Copyright information for the program.

Flags: Read / Write

Default value: NULL


The “documenters” property

  “documenters”              GValueArray *

List of people documenting the program.

Flags: Write


The “logo” property

  “logo”                     GdkPixbuf *

A logo for the about box.

Flags: Write


The “name” property

  “name”                     gchar *

The name of the program.

Flags: Read / Write

Default value: NULL


The “translator-credits” property

  “translator-credits”       gchar *

Credits to the translators. This string should be marked as translatable.

Flags: Read / Write

Default value: NULL


The “version” property

  “version”                  gchar *

The version of the program.

Flags: Read / Write

Default value: NULL