module Gtk::FontChooser

Overview

Gtk::FontChooser is an interface that can be implemented by widgets for choosing fonts.

In GTK, the main objects that implement this interface are Gtk::FontChooserWidget, Gtk::FontChooserDialog and Gtk::FontButton.

Direct including types

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/font_chooser.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.g_type : UInt64 #

Instance Method Detail

def filter_func=(filter : Gtk::FontFilterFunc?) : Nil #

def font : String? #

def font=(fontname : String) : Nil #

def font_activated_signal #

def font_desc : Pango::FontDescription? #

def font_desc=(font_desc : Pango::FontDescription) : Nil #

def font_desc=(value : Pango::FontDescription?) : Pango::FontDescription? #

def font_face : Pango::FontFace? #

def font_family : Pango::FontFamily? #

def font_features : String #

def font_map : Pango::FontMap? #

def font_map=(fontmap : Pango::FontMap?) : Nil #

def font_size : Int32 #

def language : String #

def language=(language : String) : Nil #

def level : Gtk::FontChooserLevel #

def level=(level : Gtk::FontChooserLevel) : Nil #

def preview_text : String #

def preview_text=(text : String) : Nil #

def show_preview_entry : Bool #

def show_preview_entry=(show_preview_entry : Bool) : Nil #

def show_preview_entry? : Bool #

abstract def to_unsafe #