HeAboutDialog

HeAboutDialog — An about dialog for Hildon-based applications

Synopsis

enum                HeAboutDialogResponseType;
                    HeAboutDialogPrivate;
                    HeAboutDialog;
GtkWidget*          he_about_dialog_new                 (void);
void                he_about_dialog_present             (GtkWindow *parent,
                                                         const gchar *app_name,
                                                         const gchar *icon_name,
                                                         const gchar *version,
                                                         const gchar *description,
                                                         const gchar *copyright,
                                                         const gchar *website_url,
                                                         const gchar *bugtracker_url,
                                                         const gchar *donate_url);
void                he_about_dialog_present_interop     (GdkNativeWindow parent_winid,
                                                         const gchar *app_name,
                                                         const gchar *icon_name,
                                                         const gchar *version,
                                                         const gchar *description,
                                                         const gchar *copyright,
                                                         const gchar *website_url,
                                                         const gchar *bugtracker_url,
                                                         const gchar *donate_url);
void                he_about_dialog_set_app_name        (HeAboutDialog *ad,
                                                         const gchar *app_name);
void                he_about_dialog_set_icon_name       (HeAboutDialog *ad,
                                                         const gchar *icon_name);
void                he_about_dialog_set_version         (HeAboutDialog *ad,
                                                         const gchar *version);
void                he_about_dialog_set_description     (HeAboutDialog *ad,
                                                         const gchar *description);
void                he_about_dialog_set_copyright       (HeAboutDialog *ad,
                                                         const gchar *copyright);
void                he_about_dialog_set_website         (HeAboutDialog *ad,
                                                         const gchar *url);
void                he_about_dialog_set_bugtracker      (HeAboutDialog *ad,
                                                         const gchar *url);
void                he_about_dialog_set_donate_url      (HeAboutDialog *ad,
                                                         const gchar *url);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----GtkDialog
                                             +----HeAboutDialog

Implemented Interfaces

HeAboutDialog implements AtkImplementorIface and GtkBuildable.

Description

HeAboutDialog works as a nice default about dialog for Maemo apps

Details

enum HeAboutDialogResponseType

typedef enum {
    HE_ABOUT_RESPONSE_WEBSITE = 0,
    HE_ABOUT_RESPONSE_BUGTRACKER,
    HE_ABOUT_RESPONSE_DONATE,
} HeAboutDialogResponseType;


HeAboutDialogPrivate

typedef struct _HeAboutDialogPrivate HeAboutDialogPrivate;


HeAboutDialog

typedef struct _HeAboutDialog HeAboutDialog;


he_about_dialog_new ()

GtkWidget*          he_about_dialog_new                 (void);

Creates a new HeAboutDialog

Returns : a new HeAboutDialog

Since 2.2


he_about_dialog_present ()

void                he_about_dialog_present             (GtkWindow *parent,
                                                         const gchar *app_name,
                                                         const gchar *icon_name,
                                                         const gchar *version,
                                                         const gchar *description,
                                                         const gchar *copyright,
                                                         const gchar *website_url,
                                                         const gchar *bugtracker_url,
                                                         const gchar *donate_url);

Shows a new HeAboutDialog with all settings configured.

parent : The parent window that this dialog will be set transient for, or NULL
app_name : Application name. Use NULL to use g_get_application_name()
icon_name : The application's icon name - must be provided
version : The version of the application
description : A one-line description what the app does
copyright : A one-line copyright notice
website_url : The application's homepage URL, or NULL if not available
bugtracker_url : The application's bugtracker URL, or NULL if not available
donate_url : The application's donations URL, or NULL if not available

he_about_dialog_present_interop ()

void                he_about_dialog_present_interop     (GdkNativeWindow parent_winid,
                                                         const gchar *app_name,
                                                         const gchar *icon_name,
                                                         const gchar *version,
                                                         const gchar *description,
                                                         const gchar *copyright,
                                                         const gchar *website_url,
                                                         const gchar *bugtracker_url,
                                                         const gchar *donate_url);

Shows a new HeAboutDialog with all settings configured.

parent_winid : The parent GdkNativeWindow that this dialog will be set transient for, or 0
app_name : Application name. Use NULL to use g_get_application_name()
icon_name : The application's icon name - must be provided
version : The version of the application
description : A one-line description what the app does
copyright : A one-line copyright notice
website_url : The application's homepage URL, or NULL if not available
bugtracker_url : The application's bugtracker URL, or NULL if not available
donate_url : The application's donations URL, or NULL if not available

he_about_dialog_set_app_name ()

void                he_about_dialog_set_app_name        (HeAboutDialog *ad,
                                                         const gchar *app_name);

ad : The HeAboutDialog
app_name : The application name to show

he_about_dialog_set_icon_name ()

void                he_about_dialog_set_icon_name       (HeAboutDialog *ad,
                                                         const gchar *icon_name);

ad : The HeAboutDialog
icon_name : The name of the icon to display

he_about_dialog_set_version ()

void                he_about_dialog_set_version         (HeAboutDialog *ad,
                                                         const gchar *version);

ad : The HeAboutDialog
version : The version string to display

he_about_dialog_set_description ()

void                he_about_dialog_set_description     (HeAboutDialog *ad,
                                                         const gchar *description);

ad : The HeAboutDialog
description : The description to display

he_about_dialog_set_copyright ()

void                he_about_dialog_set_copyright       (HeAboutDialog *ad,
                                                         const gchar *copyright);

ad : The HeAboutDialog
copyright : The copyright notice to display

he_about_dialog_set_website ()

void                he_about_dialog_set_website         (HeAboutDialog *ad,
                                                         const gchar *url);

ad : The HeAboutDialog
url : The Web site URL to display

he_about_dialog_set_bugtracker ()

void                he_about_dialog_set_bugtracker      (HeAboutDialog *ad,
                                                         const gchar *url);

ad : The HeAboutDialog
url : The URL of the bugtracker to display

he_about_dialog_set_donate_url ()

void                he_about_dialog_set_donate_url      (HeAboutDialog *ad,
                                                         const gchar *url);

ad : The HeAboutDialog
url : The URL of the donations Web page to display