[−][src]Trait gtk::prelude::BuildableExt
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 add_child<P: IsA<Builder>, Q: IsA<Object>>(
&self,
builder: &P,
child: &Q,
type_: Option<&str>
)
&self,
builder: &P,
child: &Q,
type_: Option<&str>
)
Adds a child to self
. type_
is an optional string
describing how the child should be added.
builder
a Builder
child
child to add
type_
kind of child or None
fn construct_child<P: IsA<Builder>>(
&self,
builder: &P,
name: &str
) -> Option<Object>
&self,
builder: &P,
name: &str
) -> Option<Object>
Constructs a child of self
with the name name
.
Builder
calls this function if a “constructor” has been
specified in the UI definition.
builder
Builder
used to construct this object
name
name of child to construct
Returns
the constructed child
fn get_internal_child<P: IsA<Builder>>(
&self,
builder: &P,
childname: &str
) -> Option<Object>
&self,
builder: &P,
childname: &str
) -> Option<Object>
Get the internal child called childname
of the self
object.
builder
a Builder
childname
name of child
Returns
the internal child of the buildable object
fn parser_finished<P: IsA<Builder>>(&self, builder: &P)
Called when the builder finishes the parsing of a
[Builder
UI definition][BUILDER-UI].
Note that this will be called once for each time
Builder::add_from_file
or BuilderExt::add_from_string
is called on a builder.
builder
a Builder
fn set_buildable_property<P: IsA<Builder>>(
&self,
builder: &P,
name: &str,
value: &Value
)
&self,
builder: &P,
name: &str,
value: &Value
)
Implementors
impl<O: IsA<Buildable>> BuildableExt for O
[src]
fn add_child<P: IsA<Builder>, Q: IsA<Object>>(
&self,
builder: &P,
child: &Q,
type_: Option<&str>
)
[src]
&self,
builder: &P,
child: &Q,
type_: Option<&str>
)
fn construct_child<P: IsA<Builder>>(
&self,
builder: &P,
name: &str
) -> Option<Object>
[src]
&self,
builder: &P,
name: &str
) -> Option<Object>
fn get_internal_child<P: IsA<Builder>>(
&self,
builder: &P,
childname: &str
) -> Option<Object>
[src]
&self,
builder: &P,
childname: &str
) -> Option<Object>
fn parser_finished<P: IsA<Builder>>(&self, builder: &P)
[src]
fn set_buildable_property<P: IsA<Builder>>(
&self,
builder: &P,
name: &str,
value: &Value
)
[src]
&self,
builder: &P,
name: &str,
value: &Value
)