Class: Gtk::AboutDialog
- Inherits:
-
Object
- Object
- Gtk::AboutDialog
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add_credit_section(section_name, people) ⇒ nil
Creates a new section in the Credits page.
-
#artists ⇒ Gtk::
The people who contributed artwork to the program, as a nil-terminated array of strings.
-
#artists=(artists) ⇒ Gtk::
The people who contributed artwork to the program, as a nil-terminated array of strings.
-
#authors ⇒ Gtk::
The authors of the program, as an array of strings.
-
#authors=(authors) ⇒ Gtk::
The authors of the program, as an array of strings.
-
#comments ⇒ String
Comments about the program.
-
#comments=(comments) ⇒ String
Comments about the program.
-
#copyright ⇒ String
Copyright information for the program.
-
#copyright=(copyright) ⇒ String
Copyright information for the program.
-
#documenters ⇒ Gtk::
The people documenting the program, as an array of strings.
-
#documenters=(documenters) ⇒ Gtk::
The people documenting the program, as an array of strings.
-
#license ⇒ String
The license of the program.
-
#license=(license) ⇒ String
The license of the program.
-
#license_type ⇒ Gtk::License
The license of the program, as a value of the %GtkLicense enumeration.
-
#license_type=(license_type) ⇒ Gtk::License
The license of the program, as a value of the %GtkLicense enumeration.
-
#logo ⇒ GdkPixbuf::Pixbuf
A logo for the about box.
-
#logo=(logo) ⇒ GdkPixbuf::Pixbuf
A logo for the about box.
-
#logo_icon_name ⇒ String
A named icon to use as the logo for the about box.
-
#logo_icon_name=(logo_icon_name) ⇒ String
A named icon to use as the logo for the about box.
-
#new ⇒ Gtk::Widget
Creates a new Gtk::AboutDialog.
-
#program_name ⇒ String
The name of the program.
-
#program_name=(program_name) ⇒ String
The name of the program.
-
#translator_credits ⇒ String
Credits to the translators.
-
#translator_credits=(translator_credits) ⇒ String
Credits to the translators.
-
#version ⇒ String
The version of the program.
-
#version=(version) ⇒ String
The version of the program.
-
#website ⇒ String
The URL for the link to the website of the program.
-
#website=(website) ⇒ String
The URL for the link to the website of the program.
-
#website_label ⇒ String
The label for the link to the website of the program.
-
#website_label=(website_label) ⇒ String
The label for the link to the website of the program.
-
#wrap_license ⇒ TrueClass
Returns whether the license text in about is automatically wrapped.
-
#wrap_license=(wrap_license) ⇒ TrueClass
Whether to wrap the text in the license dialog.
-
#wrap_license? ⇒ TrueClass
Whether to wrap the text in the license dialog.
Instance Method Details
#add_credit_section(section_name, people) ⇒ nil
Creates a new section in the Credits page.
#artists ⇒ Gtk::
The people who contributed artwork to the program, as a nil-terminated array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.
#artists=(artists) ⇒ Gtk::
The people who contributed artwork to the program, as a nil-terminated array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.
#authors ⇒ Gtk::
The authors of the program, as an array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.
#authors=(authors) ⇒ Gtk::
The authors of the program, as an array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.
#comments ⇒ String
Comments about the program. This string is displayed in a label in the main dialog, thus it should be a short explanation of the main purpose of the program, not a detailed list of features.
#comments=(comments) ⇒ String
Comments about the program. This string is displayed in a label in the main dialog, thus it should be a short explanation of the main purpose of the program, not a detailed list of features.
#copyright ⇒ String
Copyright information for the program.
#copyright=(copyright) ⇒ String
Copyright information for the program.
#documenters ⇒ Gtk::
The people documenting the program, as an array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.
#documenters=(documenters) ⇒ Gtk::
The people documenting the program, as an array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.
#license ⇒ String
The license of the program. This string is displayed in a text view in a secondary dialog, therefore it is fine to use a long multi-paragraph text. Note that the text is only wrapped in the text view if the “wrap-license” property is set to true; otherwise the text itself must contain the intended linebreaks. When setting this property to a non-nil value, the Gtk::AboutDialog:license-type property is set to %GTK_LICENSE_CUSTOM as a side effect.
#license=(license) ⇒ String
The license of the program. This string is displayed in a text view in a secondary dialog, therefore it is fine to use a long multi-paragraph text. Note that the text is only wrapped in the text view if the “wrap-license” property is set to true; otherwise the text itself must contain the intended linebreaks. When setting this property to a non-nil value, the Gtk::AboutDialog:license-type property is set to %GTK_LICENSE_CUSTOM as a side effect.
#license_type ⇒ Gtk::License
The license of the program, as a value of the %GtkLicense enumeration.
The Gtk::AboutDialog will automatically fill out a standard disclaimer and link the user to the appropriate online resource for the license text.
If %GTK_LICENSE_UNKNOWN is used, the link used will be the same specified in the Gtk::AboutDialog:website property.
If %GTK_LICENSE_CUSTOM is used, the current contents of the Gtk::AboutDialog:license property are used.
For any other Gtk::License value, the contents of the Gtk::AboutDialog:license property are also set by this property as a side effect.
#license_type=(license_type) ⇒ Gtk::License
The license of the program, as a value of the %GtkLicense enumeration.
The Gtk::AboutDialog will automatically fill out a standard disclaimer and link the user to the appropriate online resource for the license text.
If %GTK_LICENSE_UNKNOWN is used, the link used will be the same specified in the Gtk::AboutDialog:website property.
If %GTK_LICENSE_CUSTOM is used, the current contents of the Gtk::AboutDialog:license property are used.
For any other Gtk::License value, the contents of the Gtk::AboutDialog:license property are also set by this property as a side effect.
#logo ⇒ GdkPixbuf::Pixbuf
A logo for the about box. If it is nil, the default window icon set with gtk_window_set_default_icon() will be used.
#logo=(logo) ⇒ GdkPixbuf::Pixbuf
A logo for the about box. If it is nil, the default window icon set with gtk_window_set_default_icon() will be used.
#logo_icon_name ⇒ String
A named icon to use as the logo for the about box. This property overrides the Gtk::AboutDialog:logo property.
#logo_icon_name=(logo_icon_name) ⇒ String
A named icon to use as the logo for the about box. This property overrides the Gtk::AboutDialog:logo property.
#new ⇒ Gtk::Widget
Creates a new Gtk::AboutDialog.
#program_name ⇒ String
The name of the program. If this is not set, it defaults to g_get_application_name().
#program_name=(program_name) ⇒ String
The name of the program. If this is not set, it defaults to g_get_application_name().
#translator_credits ⇒ String
Credits to the translators. This string should be marked as translatable. The string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.
#translator_credits=(translator_credits) ⇒ String
Credits to the translators. This string should be marked as translatable. The string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.
#version ⇒ String
The version of the program.
#version=(version) ⇒ String
The version of the program.
#website ⇒ String
The URL for the link to the website of the program. This should be a string starting with “http://.
#website=(website) ⇒ String
The URL for the link to the website of the program. This should be a string starting with “http://.
#website_label ⇒ String
The label for the link to the website of the program.
#website_label=(website_label) ⇒ String
The label for the link to the website of the program.
#wrap_license ⇒ TrueClass
Returns whether the license text in about is automatically wrapped.
#wrap_license=(wrap_license) ⇒ TrueClass
Whether to wrap the text in the license dialog.
#wrap_license? ⇒ TrueClass
Whether to wrap the text in the license dialog.