class TopinambourFontSelector
Widget used to choose the font at runtime in a Gtk::Layout
Attributes
font[R]
Public Class Methods
new(window)
click to toggle source
Calls superclass method
# File lib/font_selector.rb, line 21 def initialize(window) super(:horizontal, 0) configure @window = window @font = @window.terminal.font add_buttons show_all end
Private Instance Methods
configure()
click to toggle source
# File lib/font_selector.rb, line 32 def configure set_name('topinambour-font-selector') set_halign(:center) set_valign(:end) end