TestWindow.GtkDAbout

Undocumented in source.
class TestWindow
class GtkDAbout : AboutDialog {}

Constructors

this
this()
Undocumented in source.

Inherited Members

From AboutDialog

gtkAboutDialog
GtkAboutDialog* gtkAboutDialog;

the main Gtk struct

getAboutDialogStruct
GtkAboutDialog* getAboutDialogStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
connectedSignals
int[string] connectedSignals;
onActivateLinkListeners
bool delegate(string, AboutDialog)[] onActivateLinkListeners;
Undocumented in source.
addOnActivateLink
void addOnActivateLink(bool delegate(string, AboutDialog) dlg, ConnectFlags connectFlags)

The signal which gets emitted to activate a URI. Applications may connect to it to override the default behaviour, which is to call gtk_show_uri(). TRUE if the link has been activated Since 2.24 See Also GTK_STOCK_ABOUT

callBackActivateLink
gboolean callBackActivateLink(GtkAboutDialog* labelStruct, gchar* uri, AboutDialog _aboutDialog)
Undocumented in source. Be warned that the author may not have intended to support it.
getName
string getName()

Warning gtk_about_dialog_get_name has been deprecated since version 2.12 and should not be used in newly-written code. Use gtk_about_dialog_get_program_name() instead. Returns the program name displayed in the about dialog. Since 2.6

setName
void setName(string name)

Warning gtk_about_dialog_set_name has been deprecated since version 2.12 and should not be used in newly-written code. Use gtk_about_dialog_set_program_name() instead. Sets the name to display in the about dialog. If this is not set, it defaults to g_get_application_name(). Since 2.6

getProgramName
string getProgramName()

Returns the program name displayed in the about dialog. Since 2.12

setProgramName
void setProgramName(string name)

Sets the name to display in the about dialog. If this is not set, it defaults to g_get_application_name(). Since 2.12

getVersion
string getVersion()

Returns the version string. Since 2.6

setVersion
void setVersion(string versio)

Sets the version string to display in the about dialog. Since 2.6

getCopyright
string getCopyright()

Returns the copyright string. Since 2.6

setCopyright
void setCopyright(string copyright)

Sets the copyright string to display in the about dialog. This should be a short string of one or two lines. Since 2.6

getComments
string getComments()

Returns the comments string. Since 2.6

setComments
void setComments(string comments)

Sets the comments string to display in the about dialog. This should be a short string of one or two lines. Since 2.6

getLicense
string getLicense()

Returns the license information. Since 2.6

setLicense
void setLicense(string license)

Sets the license information to be displayed in the secondary license dialog. If license is NULL, the license button is hidden. Since 2.6

getWrapLicense
int getWrapLicense()

Returns whether the license text in about is automatically wrapped. Since 2.8

setWrapLicense
void setWrapLicense(int wrapLicense)

Sets whether the license text in about is automatically wrapped. Since 2.8

getWebsite
string getWebsite()

Returns the website URL. Since 2.6

setWebsite
void setWebsite(string website)

Sets the URL to use for the website link. Note that that the hook functions need to be set up before calling this function. Since 2.6

getWebsiteLabel
string getWebsiteLabel()

Returns the label used for the website link. Since 2.6

setWebsiteLabel
void setWebsiteLabel(string websiteLabel)

Sets the label to be used for the website link. It defaults to the website URL. Since 2.6

getAuthors
string[] getAuthors()

Returns the string which are displayed in the authors tab of the secondary credits dialog. Since 2.6

setAuthors
void setAuthors(string[] authors)

Sets the strings which are displayed in the authors tab of the secondary credits dialog. Since 2.6

getArtists
string[] getArtists()

Returns the string which are displayed in the artists tab of the secondary credits dialog. Since 2.6

setArtists
void setArtists(string[] artists)

Sets the strings which are displayed in the artists tab of the secondary credits dialog. Since 2.6

getDocumenters
string[] getDocumenters()

Returns the string which are displayed in the documenters tab of the secondary credits dialog. Since 2.6

setDocumenters
void setDocumenters(string[] documenters)

Sets the strings which are displayed in the documenters tab of the secondary credits dialog. Since 2.6

getTranslatorCredits
string getTranslatorCredits()

Returns the translator credits string which is displayed in the translators tab of the secondary credits dialog. Since 2.6

setTranslatorCredits
void setTranslatorCredits(string translatorCredits)

Sets the translator credits string which is displayed in the translators tab of the secondary credits dialog. The intended use for this string is to display the translator of the language which is currently used in the user interface. Using gettext(), a simple way to achieve that is to mark the Since 2.6

getLogo
Pixbuf getLogo()

Returns the pixbuf displayed as logo in the about dialog. Since 2.6

setLogo
void setLogo(Pixbuf logo)

Sets the pixbuf to be displayed as logo in the about dialog. If it is NULL, the default window icon set with gtk_window_set_default_icon() will be used. Since 2.6

getLogoIconName
string getLogoIconName()

Returns the icon name displayed as logo in the about dialog. Since 2.6

setLogoIconName
void setLogoIconName(string iconName)

Sets the pixbuf to be displayed as logo in the about dialog. If it is NULL, the default window icon set with gtk_window_set_default_icon() will be used. Since 2.6

setEmailHook
GtkAboutDialogActivateLinkFunc setEmailHook(GtkAboutDialogActivateLinkFunc func, void* data, GDestroyNotify destroy)

Warning gtk_about_dialog_set_email_hook has been deprecated since version 2.24 and should not be used in newly-written code. Use the "activate-link" signal Installs a global function to be called whenever the user activates an email link in an about dialog. Since 2.18 there exists a default function which uses gtk_show_uri(). To deactivate it, you can pass NULL for func. Since 2.6

setUrlHook
GtkAboutDialogActivateLinkFunc setUrlHook(GtkAboutDialogActivateLinkFunc func, void* data, GDestroyNotify destroy)

Warning gtk_about_dialog_set_url_hook has been deprecated since version 2.24 and should not be used in newly-written code. Use the "activate-link" signal Installs a global function to be called whenever the user activates a URL link in an about dialog. Since 2.18 there exists a default function which uses gtk_show_uri(). To deactivate it, you can pass NULL for func. Since 2.6

Meta