Class: Gtk::FontSelectionDialog
- Inherits:
- 
      Object
      
        - Object
- Gtk::FontSelectionDialog
 
- Defined in:
- (unknown)
Instance Method Summary collapse
- 
  
    
      #cancel_button  ⇒ Gtk::Widget 
    
    
  
  
  
  
  
  
  
  
  
    Gets the “Cancel” button. 
- 
  
    
      #font_name  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    Gets the currently-selected font name. 
- 
  
    
      #font_name=(fontname)  ⇒ TrueClass 
    
    
  
  
  
  
  
  
  
  
  
    Sets the currently selected font. 
- 
  
    
      #font_selection  ⇒ Gtk::Widget 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the Gtk::FontSelection widget embedded in the dialog. 
- 
  
    
      #new(title)  ⇒ Gtk::Widget 
    
    
  
  
  
  
  
  
  
  
  
    Creates a new Gtk::FontSelectionDialog. 
- 
  
    
      #ok_button  ⇒ Gtk::Widget 
    
    
  
  
  
  
  
  
  
  
  
    Gets the “OK” button. 
- 
  
    
      #preview_text  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    Gets the text displayed in the preview area. 
- 
  
    
      #preview_text=(text)  ⇒ nil 
    
    
  
  
  
  
  
  
  
  
  
    Sets the text displayed in the preview area. 
Instance Method Details
#cancel_button ⇒ Gtk::Widget
Gets the “Cancel” button.
#font_name ⇒ String
Gets the currently-selected font name.
Note that this can be a different string than what you set with gtk_font_selection_dialog_set_font_name(), as the font selection widget may normalize font names and thus return a string with a different structure. For example, “Helvetica Italic Bold 12” could be normalized to “Helvetica Bold Italic 12”. Use pango_font_description_equal() if you want to compare two font descriptions.
#font_name=(fontname) ⇒ TrueClass
Sets the currently selected font.
#font_selection ⇒ Gtk::Widget
Retrieves the Gtk::FontSelection widget embedded in the dialog.
#new(title) ⇒ Gtk::Widget
Creates a new Gtk::FontSelectionDialog.
#ok_button ⇒ Gtk::Widget
Gets the “OK” button.
#preview_text ⇒ String
Gets the text displayed in the preview area.
#preview_text=(text) ⇒ nil
Sets the text displayed in the preview area.