![]() |
![]() |
![]() |
hildon-extras Reference Manual | ![]() |
---|---|---|---|---|
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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----HeAboutDialog
typedef enum { HE_ABOUT_RESPONSE_WEBSITE = 0, HE_ABOUT_RESPONSE_BUGTRACKER, HE_ABOUT_RESPONSE_DONATE, } HeAboutDialogResponseType;
GtkWidget* he_about_dialog_new (void);
Creates a new HeAboutDialog
Returns : | a new HeAboutDialog |
Since 2.2
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
|
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
|
void he_about_dialog_set_app_name (HeAboutDialog *ad, const gchar *app_name);
ad : |
The HeAboutDialog |
app_name : |
The application name to show |
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 |
void he_about_dialog_set_version (HeAboutDialog *ad, const gchar *version);
ad : |
The HeAboutDialog |
version : |
The version string to display |
void he_about_dialog_set_description (HeAboutDialog *ad, const gchar *description);
ad : |
The HeAboutDialog |
description : |
The description to display |
void he_about_dialog_set_copyright (HeAboutDialog *ad, const gchar *copyright);
ad : |
The HeAboutDialog |
copyright : |
The copyright notice to display |
void he_about_dialog_set_website (HeAboutDialog *ad, const gchar *url);
ad : |
The HeAboutDialog |
url : |
The Web site URL to display |
void he_about_dialog_set_bugtracker (HeAboutDialog *ad, const gchar *url);
ad : |
The HeAboutDialog |
url : |
The URL of the bugtracker to display |
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 |