Class: Gtk::FontButton
- Inherits:
-
Object
- Object
- Gtk::FontButton
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#font_name ⇒ String
The name of the currently selected font.
-
#font_name=(font_name) ⇒ String
The name of the currently selected font.
-
#new ⇒ Gtk::Widget
Creates a new font picker widget.
-
#new_with_font(fontname) ⇒ Gtk::Widget
Creates a new font picker widget.
-
#show_size ⇒ TrueClass
Returns whether the font size will be shown in the label.
-
#show_size=(show_size) ⇒ TrueClass
If this property is set to true, the selected font size will be shown in the label.
-
#show_size? ⇒ TrueClass
If this property is set to true, the selected font size will be shown in the label.
-
#show_style ⇒ TrueClass
Returns whether the name of the font style will be shown in the label.
-
#show_style=(show_style) ⇒ TrueClass
If this property is set to true, the name of the selected font style will be shown in the label.
-
#show_style? ⇒ TrueClass
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 ⇒ TrueClass
Returns whether the selected font is used in the label.
-
#use_font=(use_font) ⇒ TrueClass
If this property is set to true, the label will be drawn in the selected font.
-
#use_font? ⇒ TrueClass
If this property is set to true, the label will be drawn in the selected font.
-
#use_size ⇒ TrueClass
Returns whether the selected size is used in the label.
-
#use_size=(use_size) ⇒ TrueClass
If this property is set to true, the label will be drawn with the selected font size.
-
#use_size? ⇒ TrueClass
If this property is set to true, the label will be drawn with the selected font size.
Instance Method Details
#font_name ⇒ String
The name of the currently selected font.
#font_name=(font_name) ⇒ String
The name of the currently selected font.
#new ⇒ Gtk::Widget
Creates a new font picker widget.
#new_with_font(fontname) ⇒ Gtk::Widget
Creates a new font picker widget.
#show_size ⇒ TrueClass
Returns whether the font size will be shown in the label.
#show_size=(show_size) ⇒ TrueClass
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? ⇒ TrueClass
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 ⇒ TrueClass
Returns whether the name of the font style will be shown in the label.
#show_style=(show_style) ⇒ TrueClass
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? ⇒ TrueClass
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 ⇒ TrueClass
Returns whether the selected font is used in the label.
#use_font=(use_font) ⇒ TrueClass
If this property is set to true, the label will be drawn in the selected font.
#use_font? ⇒ TrueClass
If this property is set to true, the label will be drawn in the selected font.
#use_size ⇒ TrueClass
Returns whether the selected size is used in the label.
#use_size=(use_size) ⇒ TrueClass
If this property is set to true, the label will be drawn with the selected font size.
#use_size? ⇒ TrueClass
If this property is set to true, the label will be drawn with the selected font size.