module Gtk::Buildable
Overview
Gtk::Buildable
allows objects to extend and customize their deserialization
from ui files.
The interface includes methods for setting names and properties of objects, parsing custom tags and constructing child objects.
The Gtk::Buildable
interface is implemented by all widgets and
many of the non-widget objects that are provided by GTK. The
main user of this interface is Gtk::Builder
. There should be
very little need for applications to call any of these functions directly.
An object only needs to implement this interface if it needs to extend the
Gtk::Builder
XML format or run any extra routines at deserialization time.
Direct including types
- Gtk::AboutDialog
- Gtk::ActionBar
- Gtk::AnyFilter
- Gtk::AppChooserButton
- Gtk::AppChooserDialog
- Gtk::AppChooserWidget
- Gtk::ApplicationWindow
- Gtk::AspectFrame
- Gtk::Assistant
- Gtk::Box
- Gtk::Button
- Gtk::Calendar
- Gtk::CellArea
- Gtk::CellAreaBox
- Gtk::CellView
- Gtk::CenterBox
- Gtk::CheckButton
- Gtk::ColorButton
- Gtk::ColorChooserDialog
- Gtk::ColorChooserWidget
- Gtk::ColumnView
- Gtk::ComboBox
- Gtk::ComboBoxText
- Gtk::ConstraintLayout
- Gtk::Dialog
- Gtk::DragIcon
- Gtk::DrawingArea
- Gtk::DropDown
- Gtk::EditableLabel
- Gtk::EmojiChooser
- Gtk::Entry
- Gtk::EntryCompletion
- Gtk::EveryFilter
- Gtk::Expander
- Gtk::FileChooserDialog
- Gtk::FileChooserWidget
- Gtk::FileFilter
- Gtk::Fixed
- Gtk::FlowBox
- Gtk::FlowBoxChild
- Gtk::FontButton
- Gtk::FontChooserDialog
- Gtk::FontChooserWidget
- Gtk::Frame
- Gtk::GLArea
- Gtk::Grid
- Gtk::GridView
- Gtk::HeaderBar
- Gtk::IconView
- Gtk::Image
- Gtk::InfoBar
- Gtk::Label
- Gtk::LevelBar
- Gtk::LinkButton
- Gtk::ListBase
- Gtk::ListBox
- Gtk::ListBoxRow
- Gtk::ListStore
- Gtk::ListView
- Gtk::LockButton
- Gtk::MediaControls
- Gtk::MenuButton
- Gtk::MessageDialog
- Gtk::MultiFilter
- Gtk::MultiSorter
- Gtk::Notebook
- Gtk::Overlay
- Gtk::PageSetupUnixDialog
- Gtk::Paned
- Gtk::PasswordEntry
- Gtk::Picture
- Gtk::Popover
- Gtk::PopoverMenu
- Gtk::PopoverMenuBar
- Gtk::PrintUnixDialog
- Gtk::ProgressBar
- Gtk::Range
- Gtk::Revealer
- Gtk::Scale
- Gtk::ScaleButton
- Gtk::Scrollbar
- Gtk::ScrolledWindow
- Gtk::SearchBar
- Gtk::SearchEntry
- Gtk::Separator
- Gtk::ShortcutController
- Gtk::ShortcutLabel
- Gtk::ShortcutsGroup
- Gtk::ShortcutsSection
- Gtk::ShortcutsShortcut
- Gtk::ShortcutsWindow
- Gtk::SizeGroup
- Gtk::SpinButton
- Gtk::Spinner
- Gtk::Stack
- Gtk::StackSidebar
- Gtk::StackSwitcher
- Gtk::Statusbar
- Gtk::StringList
- Gtk::Switch
- Gtk::Text
- Gtk::TextTagTable
- Gtk::TextView
- Gtk::ToggleButton
- Gtk::TreeExpander
- Gtk::TreeStore
- Gtk::TreeView
- Gtk::TreeViewColumn
- Gtk::Video
- Gtk::Viewport
- Gtk::VolumeButton
- Gtk::Widget
- Gtk::Window
- Gtk::WindowControls
- Gtk::WindowHandle
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/buildable.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.
Class Method Summary
Instance Method Summary
Constructor Detail
Cast a GObject::Object
to self
, throws a TypeCastError
if the cast can't be made.