class FontFeaturesDemo

Pango/Font Features

This demonstrates support for OpenType font features with
Pango attributes. The attributes can be used manually or
via Pango markup.

Public Class Methods

new(_main_window) click to toggle source
# File gtk3/sample/gtk-demo/font_features.rb, line 12
def initialize(_main_window)
  initialize_builder
  initialize_widgets
  builder_add_callback_symbols

  update(@toggle, @entry, @font, @settings, @label)
end

Public Instance Methods

run() click to toggle source
# File gtk3/sample/gtk-demo/font_features.rb, line 20
def run
  if !@window.visible?
    @window.show_all
  else
    @window.destroy
  end
  @window
end