Trait gtk::prelude::BuildableExt [−][src]
pub trait BuildableExt: 'static {
fn add_child<P: IsA<Builder>, Q: IsA<Object>>(
&self,
builder: &P,
child: &Q,
type_: Option<&str>
);
fn construct_child<P: IsA<Builder>>(
&self,
builder: &P,
name: &str
) -> Option<Object>;
fn internal_child<P: IsA<Builder>>(
&self,
builder: &P,
childname: &str
) -> Option<Object>;
fn parser_finished<P: IsA<Builder>>(&self, builder: &P);
fn set_buildable_property<P: IsA<Builder>>(
&self,
builder: &P,
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<P: IsA<Builder>>(&self, builder: &P)
fn parser_finished<P: IsA<Builder>>(&self, builder: &P)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 BuilderExt::add_from_string()
is called on a builder.
builder
a Builder