Trait gtk::prelude::BuildableExt
source · [−]pub trait BuildableExt: 'static {
fn add_child(
&self,
builder: &impl IsA<Builder>,
child: &impl IsA<Object>,
type_: Option<&str>
);
fn construct_child(
&self,
builder: &impl IsA<Builder>,
name: &str
) -> Option<Object>;
fn internal_child(
&self,
builder: &impl IsA<Builder>,
childname: &str
) -> Option<Object>;
fn parser_finished(&self, builder: &impl IsA<Builder>);
fn set_buildable_property(
&self,
builder: &impl IsA<Builder>,
name: &str,
value: &Value
);
}
Expand description
Trait containing all Buildable
methods.
Implementors
AboutDialog
, AccelLabel
, ActionBar
, AppChooserButton
, AppChooserDialog
, AppChooserWidget
, ApplicationWindow
, AspectFrame
, Assistant
, Bin
, Box
, Buildable
, ButtonBox
, Button
, Calendar
, CellAreaBox
, CellArea
, CellView
, CheckButton
, CheckMenuItem
, ColorButton
, ColorChooserDialog
, ColorChooserWidget
, ComboBoxText
, ComboBox
, Container
, Dialog
, DrawingArea
, EntryCompletion
, Entry
, EventBox
, Expander
, FileChooserButton
, FileChooserDialog
, FileChooserWidget
, FileFilter
, Fixed
, FlowBoxChild
, FlowBox
, FontButton
, FontChooserDialog
, FontChooserWidget
, Frame
, GLArea
, Grid
, HeaderBar
, IconView
, Image
, InfoBar
, Invisible
, Label
, Layout
, LevelBar
, LinkButton
, ListBoxRow
, ListBox
, ListStore
, LockButton
, MenuBar
, MenuButton
, MenuItem
, MenuShell
, MenuToolButton
, Menu
, MessageDialog
, Misc
, ModelButton
, Notebook
, OffscreenWindow
, Overlay
, Paned
, PlacesSidebar
, Plug
, PopoverMenu
, Popover
, ProgressBar
, RadioButton
, RadioMenuItem
, RadioToolButton
, Range
, RecentChooserDialog
, RecentChooserMenu
, RecentChooserWidget
, RecentFilter
, Revealer
, ScaleButton
, Scale
, Scrollbar
, ScrolledWindow
, SearchBar
, SearchEntry
, SeparatorMenuItem
, SeparatorToolItem
, Separator
, ShortcutLabel
, ShortcutsGroup
, ShortcutsSection
, ShortcutsShortcut
, ShortcutsWindow
, SizeGroup
, Socket
, SpinButton
, Spinner
, StackSidebar
, StackSwitcher
, Stack
, Statusbar
, Switch
, TextTagTable
, TextView
, ToggleButton
, ToggleToolButton
, ToolButton
, ToolItemGroup
, ToolItem
, ToolPalette
, Toolbar
, TreeStore
, TreeViewColumn
, TreeView
, Viewport
, VolumeButton
, Widget
, Window
Required Methods
fn parser_finished(&self, builder: &impl IsA<Builder>)
fn parser_finished(&self, builder: &impl IsA<Builder>)
Called when the builder finishes the parsing of a
[GtkBuilder UI definition][BUILDER-UI].
Note that this will be called once for each time
gtk_builder_add_from_file()
or BuilderExtManual::add_from_string()
is called on a builder.
builder
a Builder