Class: Gnm::FontButton
- Inherits:
-
Gtk::Button
- Object
- Gtk::Button
- Gnm::FontButton
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#dialog_type ⇒ GLib::Type
Dialog-type.
- #dialog_type=(dialog_type) ⇒ GLib::Type
-
#font_name ⇒ String
The name of the currently selected font.
-
#font_name=(font_name) ⇒ String
The name of the currently selected font.
-
#initialize(fontname) ⇒ Gtk::Widget
constructor
Creates a new font picker widget.
-
#show_size ⇒ Boolean
Returns whether the font size will be shown in the label.
-
#show_size=(show_size) ⇒ Boolean
If this property is set to true, the selected font size will be shown in the label.
-
#show_size? ⇒ Boolean
If this property is set to true, the selected font size will be shown in the label.
-
#show_style ⇒ Boolean
Returns whether the name of the font style will be shown in the label.
-
#show_style=(show_style) ⇒ Boolean
If this property is set to true, the name of the selected font style will be shown in the label.
-
#show_style? ⇒ Boolean
If this property is set to true, the name of the selected font style will be shown in the label.
-
#title ⇒ String
The title of the font chooser dialog.
-
#title=(title) ⇒ String
The title of the font chooser dialog.
-
#use_font ⇒ Boolean
Returns whether the selected font is used in the label.
-
#use_font=(use_font) ⇒ Boolean
If this property is set to true, the label will be drawn in the selected font.
-
#use_font? ⇒ Boolean
If this property is set to true, the label will be drawn in the selected font.
-
#use_size ⇒ Boolean
Returns whether the selected size is used in the label.
-
#use_size=(use_size) ⇒ Boolean
If this property is set to true, the label will be drawn with the selected font size.
-
#use_size? ⇒ Boolean
If this property is set to true, the label will be drawn with the selected font size.
Constructor Details
#initialize(fontname) ⇒ Gtk::Widget
Creates a new font picker widget.
Instance Method Details
#dialog_type ⇒ GLib::Type
Returns dialog-type.
#dialog_type=(dialog_type) ⇒ GLib::Type
#font_name ⇒ String
The name of the currently selected font.
#font_name=(font_name) ⇒ String
The name of the currently selected font.
#show_size ⇒ Boolean
Returns whether the font size will be shown in the label.
#show_size=(show_size) ⇒ Boolean
If this property is set to true, the selected font size will be shown in the label. For a more WYSIWYG way to show the selected size, see the ::use-size property.
#show_size? ⇒ Boolean
If this property is set to true, the selected font size will be shown in the label. For a more WYSIWYG way to show the selected size, see the ::use-size property.
#show_style ⇒ Boolean
Returns whether the name of the font style will be shown in the label.
#show_style=(show_style) ⇒ Boolean
If this property is set to true, the name of the selected font style will be shown in the label. For a more WYSIWYG way to show the selected style, see the ::use-font property.
#show_style? ⇒ Boolean
If this property is set to true, the name of the selected font style will be shown in the label. For a more WYSIWYG way to show the selected style, see the ::use-font property.
#title ⇒ String
The title of the font chooser dialog.
#title=(title) ⇒ String
The title of the font chooser dialog.
#use_font ⇒ Boolean
Returns whether the selected font is used in the label.
#use_font=(use_font) ⇒ Boolean
If this property is set to true, the label will be drawn in the selected font.
#use_font? ⇒ Boolean
If this property is set to true, the label will be drawn in the selected font.
#use_size ⇒ Boolean
Returns whether the selected size is used in the label.
#use_size=(use_size) ⇒ Boolean
If this property is set to true, the label will be drawn with the selected font size.
#use_size? ⇒ Boolean
If this property is set to true, the label will be drawn with the selected font size.