diff --git a/Gir.toml b/Gir.toml index 9866a463f8..201f95def0 100644 --- a/Gir.toml +++ b/Gir.toml @@ -480,6 +480,13 @@ status = "generate" name = "baseline-position" version = "3.10" +[[object]] +name = "Gtk.Buildable" +status = "generate" + [[object.function]] + pattern = "[gs]et_name" + ignore = true + [[object]] name = "Gtk.CellArea" status = "generate" diff --git a/gir b/gir index 0409d73831..e912ccfb38 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 0409d738312d7704e727e8e729b0b65b34bfe5ff +Subproject commit e912ccfb384458bfbd52b91e6be1e36273f46b59 diff --git a/src/auto/about_dialog.rs b/src/auto/about_dialog.rs index 6dd0c0a460..3c49a120a1 100644 --- a/src/auto/about_dialog.rs +++ b/src/auto/about_dialog.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Dialog; use License; @@ -25,7 +26,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct AboutDialog(Object): Dialog, Window, Bin, Container, Widget; + pub struct AboutDialog(Object): Dialog, Window, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_about_dialog_get_type(), diff --git a/src/auto/accel_group.rs b/src/auto/accel_group.rs index 3a14dffef9..ae6559027d 100644 --- a/src/auto/accel_group.rs +++ b/src/auto/accel_group.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/action_bar.rs b/src/auto/action_bar.rs index 76a4bc95e9..83cdf4cdf5 100644 --- a/src/auto/action_bar.rs +++ b/src/auto/action_bar.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use PackType; use Widget; @@ -17,7 +18,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ActionBar(Object): Bin, Container, Widget; + pub struct ActionBar(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_action_bar_get_type(), diff --git a/src/auto/actionable.rs b/src/auto/actionable.rs index d47f114e11..082e8e08e9 100644 --- a/src/auto/actionable.rs +++ b/src/auto/actionable.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Widget; use ffi; use glib; @@ -17,7 +18,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Actionable(Object): Widget; + pub struct Actionable(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_actionable_get_type(), diff --git a/src/auto/adjustment.rs b/src/auto/adjustment.rs index 9683e5f36e..6dd395e6fd 100644 --- a/src/auto/adjustment.rs +++ b/src/auto/adjustment.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/alignment.rs b/src/auto/alignment.rs index f352a3d713..2148af95e2 100644 --- a/src/auto/alignment.rs +++ b/src/auto/alignment.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Widget; use ffi; @@ -20,7 +21,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Alignment(Object): Bin, Container, Widget; + pub struct Alignment(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_alignment_get_type(), diff --git a/src/auto/app_chooser_dialog.rs b/src/auto/app_chooser_dialog.rs index 4d68ed5f4d..c1fb0ab933 100644 --- a/src/auto/app_chooser_dialog.rs +++ b/src/auto/app_chooser_dialog.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use AppChooser; use Bin; +use Buildable; use Container; use Dialog; use DialogFlags; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct AppChooserDialog(Object): Dialog, Window, Bin, Container, Widget, AppChooser; + pub struct AppChooserDialog(Object): Dialog, Window, Bin, Container, Widget, Buildable, AppChooser; match fn { get_type => || ffi::gtk_app_chooser_dialog_get_type(), diff --git a/src/auto/app_chooser_widget.rs b/src/auto/app_chooser_widget.rs index dad4c3eff3..3f4989ca56 100644 --- a/src/auto/app_chooser_widget.rs +++ b/src/auto/app_chooser_widget.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use AppChooser; use Box; +use Buildable; use Container; use Menu; use Orientable; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct AppChooserWidget(Object): Box, Container, Widget, Orientable, AppChooser; + pub struct AppChooserWidget(Object): Box, Container, Widget, Buildable, Orientable, AppChooser; match fn { get_type => || ffi::gtk_app_chooser_widget_get_type(), diff --git a/src/auto/application.rs b/src/auto/application.rs index eb95f26251..85382d908b 100644 --- a/src/auto/application.rs +++ b/src/auto/application.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ApplicationInhibitFlags; diff --git a/src/auto/application_window.rs b/src/auto/application_window.rs index 9b4c896b24..78ba49ec4e 100644 --- a/src/auto/application_window.rs +++ b/src/auto/application_window.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Application; use Bin; +use Buildable; use Container; #[cfg(any(feature = "v3_20", feature = "dox"))] use ShortcutsWindow; @@ -30,6 +31,7 @@ glib_wrapper! { Bin, Container, Widget, + Buildable, gio::ActionGroup => gio_ffi::GActionGroup, gio::ActionMap => gio_ffi::GActionMap, ]; diff --git a/src/auto/arrow.rs b/src/auto/arrow.rs index 267ed2a358..b44f63f02a 100644 --- a/src/auto/arrow.rs +++ b/src/auto/arrow.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ArrowType; +use Buildable; use Misc; use ShadowType; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Arrow(Object): Misc, Widget; + pub struct Arrow(Object): Misc, Widget, Buildable; match fn { get_type => || ffi::gtk_arrow_get_type(), diff --git a/src/auto/aspect_frame.rs b/src/auto/aspect_frame.rs index d09f9900ae..de3b74bc03 100644 --- a/src/auto/aspect_frame.rs +++ b/src/auto/aspect_frame.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Frame; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct AspectFrame(Object): Frame, Bin, Container, Widget; + pub struct AspectFrame(Object): Frame, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_aspect_frame_get_type(), diff --git a/src/auto/assistant.rs b/src/auto/assistant.rs index 047639b9a8..22574c4ded 100644 --- a/src/auto/assistant.rs +++ b/src/auto/assistant.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use AssistantPageType; use Bin; +use Buildable; use Container; use Widget; use Window; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Assistant(Object): Window, Bin, Container, Widget; + pub struct Assistant(Object): Window, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_assistant_get_type(), diff --git a/src/auto/bin.rs b/src/auto/bin.rs index 879da8550d..23c93086f1 100644 --- a/src/auto/bin.rs +++ b/src/auto/bin.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use Widget; use ffi; @@ -12,7 +13,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct Bin(Object): Container, Widget; + pub struct Bin(Object): Container, Widget, Buildable; match fn { get_type => || ffi::gtk_bin_get_type(), diff --git a/src/auto/box_.rs b/src/auto/box_.rs index 27d02581c4..ff1d9f473f 100644 --- a/src/auto/box_.rs +++ b/src/auto/box_.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT #[cfg(any(feature = "v3_10", feature = "dox"))] use BaselinePosition; +use Buildable; use Container; use Orientable; use Orientation; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Box(Object): Container, Widget, Orientable; + pub struct Box(Object): Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_box_get_type(), diff --git a/src/auto/buildable.rs b/src/auto/buildable.rs new file mode 100644 index 0000000000..11e8005eef --- /dev/null +++ b/src/auto/buildable.rs @@ -0,0 +1,84 @@ +// This file was generated by gir (e912ccf) from gir-files (469db10) +// DO NOT EDIT + +use Builder; +use ffi; +use glib; +use glib::object::IsA; +use glib::translate::*; +use glib_ffi; +use gobject_ffi; +use std::mem; +use std::ptr; + +glib_wrapper! { + pub struct Buildable(Object); + + match fn { + get_type => || ffi::gtk_buildable_get_type(), + } +} + +pub trait BuildableExt { + fn add_child<'a, P: IsA, Q: Into>>(&self, builder: &Builder, child: &P, type_: Q); + + fn construct_child(&self, builder: &Builder, name: &str) -> Option; + + //fn custom_finished<'a, P: IsA + 'a, Q: Into>, R: Into>>(&self, builder: &Builder, child: Q, tagname: &str, data: R); + + //fn custom_tag_end<'a, P: IsA + 'a, Q: Into>, R: Into>>(&self, builder: &Builder, child: Q, tagname: &str, data: R); + + //fn custom_tag_start<'a, P: IsA + 'a, Q: Into>>(&self, builder: &Builder, child: Q, tagname: &str, parser: /*Ignored*/glib::MarkupParser, data: /*Unimplemented*/&mut Option) -> bool; + + fn get_internal_child(&self, builder: &Builder, childname: &str) -> Option; + + fn parser_finished(&self, builder: &Builder); + + fn set_buildable_property(&self, builder: &Builder, name: &str, value: &glib::Value); +} + +impl> BuildableExt for O { + fn add_child<'a, P: IsA, Q: Into>>(&self, builder: &Builder, child: &P, type_: Q) { + let type_ = type_.into(); + let type_ = type_.to_glib_none(); + unsafe { + ffi::gtk_buildable_add_child(self.to_glib_none().0, builder.to_glib_none().0, child.to_glib_none().0, type_.0); + } + } + + fn construct_child(&self, builder: &Builder, name: &str) -> Option { + unsafe { + from_glib_full(ffi::gtk_buildable_construct_child(self.to_glib_none().0, builder.to_glib_none().0, name.to_glib_none().0)) + } + } + + //fn custom_finished<'a, P: IsA + 'a, Q: Into>, R: Into>>(&self, builder: &Builder, child: Q, tagname: &str, data: R) { + // unsafe { TODO: call ffi::gtk_buildable_custom_finished() } + //} + + //fn custom_tag_end<'a, P: IsA + 'a, Q: Into>, R: Into>>(&self, builder: &Builder, child: Q, tagname: &str, data: R) { + // unsafe { TODO: call ffi::gtk_buildable_custom_tag_end() } + //} + + //fn custom_tag_start<'a, P: IsA + 'a, Q: Into>>(&self, builder: &Builder, child: Q, tagname: &str, parser: /*Ignored*/glib::MarkupParser, data: /*Unimplemented*/&mut Option) -> bool { + // unsafe { TODO: call ffi::gtk_buildable_custom_tag_start() } + //} + + fn get_internal_child(&self, builder: &Builder, childname: &str) -> Option { + unsafe { + from_glib_none(ffi::gtk_buildable_get_internal_child(self.to_glib_none().0, builder.to_glib_none().0, childname.to_glib_none().0)) + } + } + + fn parser_finished(&self, builder: &Builder) { + unsafe { + ffi::gtk_buildable_parser_finished(self.to_glib_none().0, builder.to_glib_none().0); + } + } + + fn set_buildable_property(&self, builder: &Builder, name: &str, value: &glib::Value) { + unsafe { + ffi::gtk_buildable_set_buildable_property(self.to_glib_none().0, builder.to_glib_none().0, name.to_glib_none().0, value.to_glib_none().0); + } + } +} diff --git a/src/auto/builder.rs b/src/auto/builder.rs index 4c2653c2a7..7ca6fd8fc8 100644 --- a/src/auto/builder.rs +++ b/src/auto/builder.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT #[cfg(any(feature = "v3_10", feature = "dox"))] diff --git a/src/auto/button.rs b/src/auto/button.rs index b0b97adcb4..9608b2f177 100644 --- a/src/auto/button.rs +++ b/src/auto/button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Container; use PositionType; use ReliefStyle; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Button(Object): Bin, Container, Widget, Actionable; + pub struct Button(Object): Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_button_get_type(), diff --git a/src/auto/button_box.rs b/src/auto/button_box.rs index 1c92355b64..4195b90fd6 100644 --- a/src/auto/button_box.rs +++ b/src/auto/button_box.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use ButtonBoxStyle; use Container; use Orientable; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ButtonBox(Object): Box, Container, Widget, Orientable; + pub struct ButtonBox(Object): Box, Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_button_box_get_type(), diff --git a/src/auto/calendar.rs b/src/auto/calendar.rs index a60caa2f82..4bd657e3a0 100644 --- a/src/auto/calendar.rs +++ b/src/auto/calendar.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use CalendarDisplayOptions; use Widget; use ffi; @@ -19,7 +20,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Calendar(Object): Widget; + pub struct Calendar(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_calendar_get_type(), diff --git a/src/auto/cell_area.rs b/src/auto/cell_area.rs index 0e901b4622..b68f35a026 100644 --- a/src/auto/cell_area.rs +++ b/src/auto/cell_area.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use CellAreaContext; use CellEditable; use CellLayout; @@ -32,7 +33,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct CellArea(Object): CellLayout; + pub struct CellArea(Object): Buildable, CellLayout; match fn { get_type => || ffi::gtk_cell_area_get_type(), diff --git a/src/auto/cell_area_box.rs b/src/auto/cell_area_box.rs index 591f419d2e..3231c0f074 100644 --- a/src/auto/cell_area_box.rs +++ b/src/auto/cell_area_box.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use CellArea; use CellLayout; use CellRenderer; @@ -20,7 +21,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct CellAreaBox(Object): CellArea, CellLayout, Orientable; + pub struct CellAreaBox(Object): CellArea, Buildable, CellLayout, Orientable; match fn { get_type => || ffi::gtk_cell_area_box_get_type(), diff --git a/src/auto/cell_area_context.rs b/src/auto/cell_area_context.rs index 0a6c83d3b5..5081601492 100644 --- a/src/auto/cell_area_context.rs +++ b/src/auto/cell_area_context.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellArea; diff --git a/src/auto/cell_editable.rs b/src/auto/cell_editable.rs index c11448448c..cfe415129f 100644 --- a/src/auto/cell_editable.rs +++ b/src/auto/cell_editable.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Widget; use ffi; use gdk; @@ -19,7 +20,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct CellEditable(Object): Widget; + pub struct CellEditable(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_cell_editable_get_type(), diff --git a/src/auto/cell_layout.rs b/src/auto/cell_layout.rs index f81c52c7fa..f57599f63f 100644 --- a/src/auto/cell_layout.rs +++ b/src/auto/cell_layout.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellArea; diff --git a/src/auto/cell_renderer.rs b/src/auto/cell_renderer.rs index b78207ecc0..519ee94526 100644 --- a/src/auto/cell_renderer.rs +++ b/src/auto/cell_renderer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellEditable; diff --git a/src/auto/cell_renderer_accel.rs b/src/auto/cell_renderer_accel.rs index 32eddf16b9..6d4034fa2d 100644 --- a/src/auto/cell_renderer_accel.rs +++ b/src/auto/cell_renderer_accel.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellRenderer; diff --git a/src/auto/cell_renderer_combo.rs b/src/auto/cell_renderer_combo.rs index 74f58520eb..e42848a0ee 100644 --- a/src/auto/cell_renderer_combo.rs +++ b/src/auto/cell_renderer_combo.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellRenderer; diff --git a/src/auto/cell_renderer_pixbuf.rs b/src/auto/cell_renderer_pixbuf.rs index 5bbd333a9b..acac42daa6 100644 --- a/src/auto/cell_renderer_pixbuf.rs +++ b/src/auto/cell_renderer_pixbuf.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellRenderer; diff --git a/src/auto/cell_renderer_progress.rs b/src/auto/cell_renderer_progress.rs index a1b5894678..a3fed8cec1 100644 --- a/src/auto/cell_renderer_progress.rs +++ b/src/auto/cell_renderer_progress.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellRenderer; diff --git a/src/auto/cell_renderer_spin.rs b/src/auto/cell_renderer_spin.rs index f02152ac6a..3c0d6b9762 100644 --- a/src/auto/cell_renderer_spin.rs +++ b/src/auto/cell_renderer_spin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; diff --git a/src/auto/cell_renderer_spinner.rs b/src/auto/cell_renderer_spinner.rs index a414435bae..9a25c38c2a 100644 --- a/src/auto/cell_renderer_spinner.rs +++ b/src/auto/cell_renderer_spinner.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellRenderer; diff --git a/src/auto/cell_renderer_text.rs b/src/auto/cell_renderer_text.rs index 3bee3e9521..23e0718c96 100644 --- a/src/auto/cell_renderer_text.rs +++ b/src/auto/cell_renderer_text.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellRenderer; diff --git a/src/auto/cell_renderer_toggle.rs b/src/auto/cell_renderer_toggle.rs index d21ec8ba50..9a7660d845 100644 --- a/src/auto/cell_renderer_toggle.rs +++ b/src/auto/cell_renderer_toggle.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CellRenderer; diff --git a/src/auto/check_button.rs b/src/auto/check_button.rs index 871a153795..5a4749361d 100644 --- a/src/auto/check_button.rs +++ b/src/auto/check_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Button; use Container; use ToggleButton; @@ -16,7 +17,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct CheckButton(Object): ToggleButton, Button, Bin, Container, Widget, Actionable; + pub struct CheckButton(Object): ToggleButton, Button, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_check_button_get_type(), diff --git a/src/auto/check_menu_item.rs b/src/auto/check_menu_item.rs index 2029b1cb4a..7da3ba267a 100644 --- a/src/auto/check_menu_item.rs +++ b/src/auto/check_menu_item.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Container; use MenuItem; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct CheckMenuItem(Object): MenuItem, Bin, Container, Widget, Actionable; + pub struct CheckMenuItem(Object): MenuItem, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_check_menu_item_get_type(), diff --git a/src/auto/clipboard.rs b/src/auto/clipboard.rs index e6e32dc1ed..f8aee8af2f 100644 --- a/src/auto/clipboard.rs +++ b/src/auto/clipboard.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use SelectionData; diff --git a/src/auto/color_button.rs b/src/auto/color_button.rs index d1df105def..d0295e1c47 100644 --- a/src/auto/color_button.rs +++ b/src/auto/color_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Button; use ColorChooser; use Container; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ColorButton(Object): Button, Bin, Container, Widget, Actionable, ColorChooser; + pub struct ColorButton(Object): Button, Bin, Container, Widget, Buildable, Actionable, ColorChooser; match fn { get_type => || ffi::gtk_color_button_get_type(), diff --git a/src/auto/color_chooser.rs b/src/auto/color_chooser.rs index e96ae3d52e..88ad3a0a75 100644 --- a/src/auto/color_chooser.rs +++ b/src/auto/color_chooser.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/color_chooser_dialog.rs b/src/auto/color_chooser_dialog.rs index 8d14221708..1ed6d8cd12 100644 --- a/src/auto/color_chooser_dialog.rs +++ b/src/auto/color_chooser_dialog.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use ColorChooser; use Container; use Dialog; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ColorChooserDialog(Object): Dialog, Window, Bin, Container, Widget, ColorChooser; + pub struct ColorChooserDialog(Object): Dialog, Window, Bin, Container, Widget, Buildable, ColorChooser; match fn { get_type => || ffi::gtk_color_chooser_dialog_get_type(), diff --git a/src/auto/color_chooser_widget.rs b/src/auto/color_chooser_widget.rs index c39fd5cd01..29e5bc85d9 100644 --- a/src/auto/color_chooser_widget.rs +++ b/src/auto/color_chooser_widget.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use ColorChooser; use Container; use Orientable; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ColorChooserWidget(Object): Box, Container, Widget, Orientable, ColorChooser; + pub struct ColorChooserWidget(Object): Box, Container, Widget, Buildable, Orientable, ColorChooser; match fn { get_type => || ffi::gtk_color_chooser_widget_get_type(), diff --git a/src/auto/combo_box.rs b/src/auto/combo_box.rs index 0c0e876865..26252a8e1b 100644 --- a/src/auto/combo_box.rs +++ b/src/auto/combo_box.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use CellArea; use CellEditable; use CellLayout; @@ -29,7 +30,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ComboBox(Object): Bin, Container, Widget, CellEditable, CellLayout; + pub struct ComboBox(Object): Bin, Container, Widget, Buildable, CellEditable, CellLayout; match fn { get_type => || ffi::gtk_combo_box_get_type(), diff --git a/src/auto/combo_box_text.rs b/src/auto/combo_box_text.rs index 47df49360a..ea488e7758 100644 --- a/src/auto/combo_box_text.rs +++ b/src/auto/combo_box_text.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use CellEditable; use CellLayout; use ComboBox; @@ -17,7 +18,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct ComboBoxText(Object): ComboBox, Bin, Container, Widget, CellEditable, CellLayout; + pub struct ComboBoxText(Object): ComboBox, Bin, Container, Widget, Buildable, CellEditable, CellLayout; match fn { get_type => || ffi::gtk_combo_box_text_get_type(), diff --git a/src/auto/container.rs b/src/auto/container.rs index 9252f19b7a..f76936dd62 100644 --- a/src/auto/container.rs +++ b/src/auto/container.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; +use Buildable; use ResizeMode; use Widget; use cairo; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Container(Object): Widget; + pub struct Container(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_container_get_type(), diff --git a/src/auto/css_provider.rs b/src/auto/css_provider.rs index 2505476bcc..b7ed25e4b2 100644 --- a/src/auto/css_provider.rs +++ b/src/auto/css_provider.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CssSection; diff --git a/src/auto/css_section.rs b/src/auto/css_section.rs index b2567dde52..137feba049 100644 --- a/src/auto/css_section.rs +++ b/src/auto/css_section.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CssSectionType; diff --git a/src/auto/dialog.rs b/src/auto/dialog.rs index 66ce6674b5..90707f276f 100644 --- a/src/auto/dialog.rs +++ b/src/auto/dialog.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; use Box; +use Buildable; use Container; use Widget; use Window; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Dialog(Object): Window, Bin, Container, Widget; + pub struct Dialog(Object): Window, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_dialog_get_type(), diff --git a/src/auto/drawing_area.rs b/src/auto/drawing_area.rs index a1b7119f7e..3193f5d9c6 100644 --- a/src/auto/drawing_area.rs +++ b/src/auto/drawing_area.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Widget; use ffi; use glib::object::Downcast; @@ -11,7 +12,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct DrawingArea(Object): Widget; + pub struct DrawingArea(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_drawing_area_get_type(), diff --git a/src/auto/editable.rs b/src/auto/editable.rs index dba2d64db9..2d8de35118 100644 --- a/src/auto/editable.rs +++ b/src/auto/editable.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/entry.rs b/src/auto/entry.rs index 552656c24f..544fe5b53a 100644 --- a/src/auto/entry.rs +++ b/src/auto/entry.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; +use Buildable; use CellEditable; use DeleteType; use Editable; @@ -39,7 +40,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Entry(Object): Widget, CellEditable, Editable; + pub struct Entry(Object): Widget, Buildable, CellEditable, Editable; match fn { get_type => || ffi::gtk_entry_get_type(), diff --git a/src/auto/entry_completion.rs b/src/auto/entry_completion.rs index fc19abd158..c9120dc8fe 100644 --- a/src/auto/entry_completion.rs +++ b/src/auto/entry_completion.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use CellArea; use CellLayout; use TreeIter; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct EntryCompletion(Object): CellLayout; + pub struct EntryCompletion(Object): Buildable, CellLayout; match fn { get_type => || ffi::gtk_entry_completion_get_type(), diff --git a/src/auto/enums.rs b/src/auto/enums.rs index bc3d0cde17..568148319f 100644 --- a/src/auto/enums.rs +++ b/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/event_box.rs b/src/auto/event_box.rs index 168ee8ee30..b2c33e1115 100644 --- a/src/auto/event_box.rs +++ b/src/auto/event_box.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Widget; use ffi; @@ -19,7 +20,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct EventBox(Object): Bin, Container, Widget; + pub struct EventBox(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_event_box_get_type(), diff --git a/src/auto/event_controller.rs b/src/auto/event_controller.rs index f508964d38..e1ad1760d6 100644 --- a/src/auto/event_controller.rs +++ b/src/auto/event_controller.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT #[cfg(any(feature = "v3_14", feature = "dox"))] diff --git a/src/auto/expander.rs b/src/auto/expander.rs index 7c3426c5ab..a6e4a35ae0 100644 --- a/src/auto/expander.rs +++ b/src/auto/expander.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Widget; use ffi; @@ -19,7 +20,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Expander(Object): Bin, Container, Widget; + pub struct Expander(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_expander_get_type(), diff --git a/src/auto/file_chooser.rs b/src/auto/file_chooser.rs index 7ae0a210ef..7572a33381 100644 --- a/src/auto/file_chooser.rs +++ b/src/auto/file_chooser.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/file_chooser_button.rs b/src/auto/file_chooser_button.rs index 2305577c99..30ce91e723 100644 --- a/src/auto/file_chooser_button.rs +++ b/src/auto/file_chooser_button.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use Container; use Dialog; use FileChooser; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct FileChooserButton(Object): Box, Container, Widget, Orientable, FileChooser; + pub struct FileChooserButton(Object): Box, Container, Widget, Buildable, Orientable, FileChooser; match fn { get_type => || ffi::gtk_file_chooser_button_get_type(), diff --git a/src/auto/file_chooser_dialog.rs b/src/auto/file_chooser_dialog.rs index 9a5fe0cd28..665996e290 100644 --- a/src/auto/file_chooser_dialog.rs +++ b/src/auto/file_chooser_dialog.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Dialog; use FileChooser; @@ -15,7 +16,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct FileChooserDialog(Object): Dialog, Window, Bin, Container, Widget, FileChooser; + pub struct FileChooserDialog(Object): Dialog, Window, Bin, Container, Widget, Buildable, FileChooser; match fn { get_type => || ffi::gtk_file_chooser_dialog_get_type(), diff --git a/src/auto/file_chooser_widget.rs b/src/auto/file_chooser_widget.rs index 6f4d9e1897..0689bdd965 100644 --- a/src/auto/file_chooser_widget.rs +++ b/src/auto/file_chooser_widget.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use Container; use FileChooser; use FileChooserAction; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct FileChooserWidget(Object): Box, Container, Widget, Orientable, FileChooser; + pub struct FileChooserWidget(Object): Box, Container, Widget, Buildable, Orientable, FileChooser; match fn { get_type => || ffi::gtk_file_chooser_widget_get_type(), diff --git a/src/auto/file_filter.rs b/src/auto/file_filter.rs index 48f55cfb02..20212af42e 100644 --- a/src/auto/file_filter.rs +++ b/src/auto/file_filter.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use FileFilterFlags; use ffi; #[cfg(any(feature = "v3_22", feature = "dox"))] @@ -13,7 +14,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct FileFilter(Object); + pub struct FileFilter(Object): Buildable; match fn { get_type => || ffi::gtk_file_filter_get_type(), diff --git a/src/auto/fixed.rs b/src/auto/fixed.rs index f0bacc01c5..ace887903b 100644 --- a/src/auto/fixed.rs +++ b/src/auto/fixed.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use Widget; use ffi; @@ -13,7 +14,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct Fixed(Object): Container, Widget; + pub struct Fixed(Object): Container, Widget, Buildable; match fn { get_type => || ffi::gtk_fixed_get_type(), diff --git a/src/auto/flags.rs b/src/auto/flags.rs index ad93ebff80..ae52e9f62d 100644 --- a/src/auto/flags.rs +++ b/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/flow_box.rs b/src/auto/flow_box.rs index 10194b771a..7802da992a 100644 --- a/src/auto/flow_box.rs +++ b/src/auto/flow_box.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT #[cfg(any(feature = "v3_12", feature = "dox"))] use Adjustment; +use Buildable; use Container; use FlowBoxChild; use MovementStep; @@ -26,7 +27,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct FlowBox(Object): Container, Widget, Orientable; + pub struct FlowBox(Object): Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_flow_box_get_type(), diff --git a/src/auto/flow_box_child.rs b/src/auto/flow_box_child.rs index 29d60aeefa..8a7606466c 100644 --- a/src/auto/flow_box_child.rs +++ b/src/auto/flow_box_child.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Widget; use ffi; @@ -19,7 +20,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct FlowBoxChild(Object): Bin, Container, Widget; + pub struct FlowBoxChild(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_flow_box_child_get_type(), diff --git a/src/auto/font_button.rs b/src/auto/font_button.rs index 3ab7238612..fe18203e16 100644 --- a/src/auto/font_button.rs +++ b/src/auto/font_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Button; use Container; use FontChooser; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct FontButton(Object): Button, Bin, Container, Widget, Actionable, FontChooser; + pub struct FontButton(Object): Button, Bin, Container, Widget, Buildable, Actionable, FontChooser; match fn { get_type => || ffi::gtk_font_button_get_type(), diff --git a/src/auto/font_chooser.rs b/src/auto/font_chooser.rs index 23fd80a6dc..e88db4e48b 100644 --- a/src/auto/font_chooser.rs +++ b/src/auto/font_chooser.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/font_chooser_dialog.rs b/src/auto/font_chooser_dialog.rs index 19e88d7513..38ac4a246a 100644 --- a/src/auto/font_chooser_dialog.rs +++ b/src/auto/font_chooser_dialog.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Dialog; use FontChooser; @@ -17,7 +18,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct FontChooserDialog(Object): Dialog, Window, Bin, Container, Widget, FontChooser; + pub struct FontChooserDialog(Object): Dialog, Window, Bin, Container, Widget, Buildable, FontChooser; match fn { get_type => || ffi::gtk_font_chooser_dialog_get_type(), diff --git a/src/auto/font_chooser_widget.rs b/src/auto/font_chooser_widget.rs index 5ab15a8706..3d273cc8eb 100644 --- a/src/auto/font_chooser_widget.rs +++ b/src/auto/font_chooser_widget.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use Container; use FontChooser; use Orientable; @@ -15,7 +16,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct FontChooserWidget(Object): Box, Container, Widget, Orientable, FontChooser; + pub struct FontChooserWidget(Object): Box, Container, Widget, Buildable, Orientable, FontChooser; match fn { get_type => || ffi::gtk_font_chooser_widget_get_type(), diff --git a/src/auto/frame.rs b/src/auto/frame.rs index ad067be82b..3abfe209e8 100644 --- a/src/auto/frame.rs +++ b/src/auto/frame.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use ShadowType; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Frame(Object): Bin, Container, Widget; + pub struct Frame(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_frame_get_type(), diff --git a/src/auto/functions.rs b/src/auto/functions.rs index 14927752c3..15688ae202 100644 --- a/src/auto/functions.rs +++ b/src/auto/functions.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use AccelGroup; diff --git a/src/auto/gesture.rs b/src/auto/gesture.rs index 8d8f9b7e13..504a63b6f1 100644 --- a/src/auto/gesture.rs +++ b/src/auto/gesture.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gesture_drag.rs b/src/auto/gesture_drag.rs index 6b48e9f4f2..087082bba7 100644 --- a/src/auto/gesture_drag.rs +++ b/src/auto/gesture_drag.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gesture_long_press.rs b/src/auto/gesture_long_press.rs index f2d5444f50..090dc6c0be 100644 --- a/src/auto/gesture_long_press.rs +++ b/src/auto/gesture_long_press.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gesture_multi_press.rs b/src/auto/gesture_multi_press.rs index b0f505014c..b2c6686819 100644 --- a/src/auto/gesture_multi_press.rs +++ b/src/auto/gesture_multi_press.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gesture_pan.rs b/src/auto/gesture_pan.rs index 5bb127ee39..8ee698589f 100644 --- a/src/auto/gesture_pan.rs +++ b/src/auto/gesture_pan.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gesture_rotate.rs b/src/auto/gesture_rotate.rs index a132cbd9f0..30edb1c4a5 100644 --- a/src/auto/gesture_rotate.rs +++ b/src/auto/gesture_rotate.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gesture_single.rs b/src/auto/gesture_single.rs index 8b2f474bad..0409ee6678 100644 --- a/src/auto/gesture_single.rs +++ b/src/auto/gesture_single.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gesture_swipe.rs b/src/auto/gesture_swipe.rs index fe8ec4d616..40c4a769c3 100644 --- a/src/auto/gesture_swipe.rs +++ b/src/auto/gesture_swipe.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gesture_zoom.rs b/src/auto/gesture_zoom.rs index d3ba6d3ee1..6df06c836e 100644 --- a/src/auto/gesture_zoom.rs +++ b/src/auto/gesture_zoom.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use EventController; diff --git a/src/auto/gl_area.rs b/src/auto/gl_area.rs index 0f9aa839c6..0fc52825a5 100644 --- a/src/auto/gl_area.rs +++ b/src/auto/gl_area.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; #[cfg(any(feature = "v3_16", feature = "dox"))] use Error; use Widget; @@ -31,7 +32,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct GLArea(Object): Widget; + pub struct GLArea(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_gl_area_get_type(), diff --git a/src/auto/grid.rs b/src/auto/grid.rs index c4907e5e3b..e3b5307938 100644 --- a/src/auto/grid.rs +++ b/src/auto/grid.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT #[cfg(any(feature = "v3_10", feature = "dox"))] use BaselinePosition; +use Buildable; use Container; use Orientable; use PositionType; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Grid(Object): Container, Widget, Orientable; + pub struct Grid(Object): Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_grid_get_type(), diff --git a/src/auto/header_bar.rs b/src/auto/header_bar.rs index d0c6fa5a2f..b198f3eea0 100644 --- a/src/auto/header_bar.rs +++ b/src/auto/header_bar.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use PackType; use Widget; @@ -20,7 +21,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct HeaderBar(Object): Container, Widget; + pub struct HeaderBar(Object): Container, Widget, Buildable; match fn { get_type => || ffi::gtk_header_bar_get_type(), diff --git a/src/auto/i_m_context.rs b/src/auto/i_m_context.rs index 549aec4e3a..7702d44aa5 100644 --- a/src/auto/i_m_context.rs +++ b/src/auto/i_m_context.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT #[cfg(any(feature = "v3_6", feature = "dox"))] diff --git a/src/auto/i_m_multicontext.rs b/src/auto/i_m_multicontext.rs index 7bb780d5a3..32210b8672 100644 --- a/src/auto/i_m_multicontext.rs +++ b/src/auto/i_m_multicontext.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use IMContext; diff --git a/src/auto/icon_factory.rs b/src/auto/icon_factory.rs index 36c69ab13b..b599676a9c 100644 --- a/src/auto/icon_factory.rs +++ b/src/auto/icon_factory.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use IconSet; use ffi; use glib::object::IsA; @@ -11,7 +12,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct IconFactory(Object); + pub struct IconFactory(Object): Buildable; match fn { get_type => || ffi::gtk_icon_factory_get_type(), diff --git a/src/auto/icon_info.rs b/src/auto/icon_info.rs index 6848048d14..459b5e48a9 100644 --- a/src/auto/icon_info.rs +++ b/src/auto/icon_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/icon_set.rs b/src/auto/icon_set.rs index c7354790ee..4e0e9ec17c 100644 --- a/src/auto/icon_set.rs +++ b/src/auto/icon_set.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use IconSource; diff --git a/src/auto/icon_source.rs b/src/auto/icon_source.rs index 386f9d87e6..7d0ba60ab2 100644 --- a/src/auto/icon_source.rs +++ b/src/auto/icon_source.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use StateType; diff --git a/src/auto/icon_theme.rs b/src/auto/icon_theme.rs index e928949aab..7441eb600d 100644 --- a/src/auto/icon_theme.rs +++ b/src/auto/icon_theme.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/icon_view.rs b/src/auto/icon_view.rs index c628c3c638..9cac263ee2 100644 --- a/src/auto/icon_view.rs +++ b/src/auto/icon_view.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use CellArea; use CellLayout; use CellRenderer; @@ -35,7 +36,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct IconView(Object): Container, Widget, CellLayout, Scrollable; + pub struct IconView(Object): Container, Widget, Buildable, CellLayout, Scrollable; match fn { get_type => || ffi::gtk_icon_view_get_type(), diff --git a/src/auto/image.rs b/src/auto/image.rs index 99457c06e6..1bbcbb13e9 100644 --- a/src/auto/image.rs +++ b/src/auto/image.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use IconSet; use ImageType; use Misc; @@ -26,7 +27,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Image(Object): Misc, Widget; + pub struct Image(Object): Misc, Widget, Buildable; match fn { get_type => || ffi::gtk_image_get_type(), diff --git a/src/auto/image_menu_item.rs b/src/auto/image_menu_item.rs index 98eed7c5c8..038633d3d1 100644 --- a/src/auto/image_menu_item.rs +++ b/src/auto/image_menu_item.rs @@ -1,9 +1,10 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use AccelGroup; use Actionable; use Bin; +use Buildable; use Container; use MenuItem; use Widget; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ImageMenuItem(Object): MenuItem, Bin, Container, Widget, Actionable; + pub struct ImageMenuItem(Object): MenuItem, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_image_menu_item_get_type(), diff --git a/src/auto/info_bar.rs b/src/auto/info_bar.rs index 89f54031e0..90478a19bc 100644 --- a/src/auto/info_bar.rs +++ b/src/auto/info_bar.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use Button; use Container; use MessageType; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct InfoBar(Object): Box, Container, Widget, Orientable; + pub struct InfoBar(Object): Box, Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_info_bar_get_type(), diff --git a/src/auto/label.rs b/src/auto/label.rs index b7f00f7514..22534c0865 100644 --- a/src/auto/label.rs +++ b/src/auto/label.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Justification; use Menu; use Misc; @@ -25,7 +26,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Label(Object): Misc, Widget; + pub struct Label(Object): Misc, Widget, Buildable; match fn { get_type => || ffi::gtk_label_get_type(), diff --git a/src/auto/layout.rs b/src/auto/layout.rs index 56f84a5634..1bc0171fc8 100644 --- a/src/auto/layout.rs +++ b/src/auto/layout.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; +use Buildable; use Container; use Scrollable; use Widget; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Layout(Object): Container, Widget, Scrollable; + pub struct Layout(Object): Container, Widget, Buildable, Scrollable; match fn { get_type => || ffi::gtk_layout_get_type(), diff --git a/src/auto/level_bar.rs b/src/auto/level_bar.rs index c108862ea1..bb978b2ac1 100644 --- a/src/auto/level_bar.rs +++ b/src/auto/level_bar.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; #[cfg(any(feature = "v3_6", feature = "dox"))] use LevelBarMode; use Orientable; @@ -26,7 +27,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct LevelBar(Object): Widget, Orientable; + pub struct LevelBar(Object): Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_level_bar_get_type(), diff --git a/src/auto/link_button.rs b/src/auto/link_button.rs index 97a46b82bb..d868d8e1d9 100644 --- a/src/auto/link_button.rs +++ b/src/auto/link_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Button; use Container; use Widget; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct LinkButton(Object): Button, Bin, Container, Widget, Actionable; + pub struct LinkButton(Object): Button, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_link_button_get_type(), diff --git a/src/auto/list_box.rs b/src/auto/list_box.rs index b715168a6d..c9fefa978d 100644 --- a/src/auto/list_box.rs +++ b/src/auto/list_box.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT #[cfg(any(feature = "v3_10", feature = "dox"))] use Adjustment; +use Buildable; use Container; #[cfg(any(feature = "v3_10", feature = "dox"))] use ListBoxRow; @@ -26,7 +27,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ListBox(Object): Container, Widget; + pub struct ListBox(Object): Container, Widget, Buildable; match fn { get_type => || ffi::gtk_list_box_get_type(), diff --git a/src/auto/list_box_row.rs b/src/auto/list_box_row.rs index 9c4a713c9a..6ac1d81fb0 100644 --- a/src/auto/list_box_row.rs +++ b/src/auto/list_box_row.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Widget; use ffi; @@ -19,7 +20,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ListBoxRow(Object): Bin, Container, Widget; + pub struct ListBoxRow(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_list_box_row_get_type(), diff --git a/src/auto/list_store.rs b/src/auto/list_store.rs index e75362b457..616ff12193 100644 --- a/src/auto/list_store.rs +++ b/src/auto/list_store.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use TreeIter; use TreeModel; use TreeSortable; @@ -13,7 +14,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct ListStore(Object): TreeModel, TreeSortable; + pub struct ListStore(Object): Buildable, TreeModel, TreeSortable; match fn { get_type => || ffi::gtk_list_store_get_type(), diff --git a/src/auto/menu.rs b/src/auto/menu.rs index 097c6c397b..5cc0f30417 100644 --- a/src/auto/menu.rs +++ b/src/auto/menu.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use AccelGroup; +use Buildable; use Container; use MenuItem; use MenuShell; @@ -25,7 +26,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Menu(Object): MenuShell, Container, Widget; + pub struct Menu(Object): MenuShell, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_menu_get_type(), diff --git a/src/auto/menu_bar.rs b/src/auto/menu_bar.rs index 533fb59331..c00c77d9db 100644 --- a/src/auto/menu_bar.rs +++ b/src/auto/menu_bar.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use MenuShell; use PackDirection; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct MenuBar(Object): MenuShell, Container, Widget; + pub struct MenuBar(Object): MenuShell, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_menu_bar_get_type(), diff --git a/src/auto/menu_button.rs b/src/auto/menu_button.rs index 3e4a2dcfbe..f5ae514bc4 100644 --- a/src/auto/menu_button.rs +++ b/src/auto/menu_button.rs @@ -1,10 +1,11 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; #[cfg(any(feature = "v3_6", feature = "dox"))] use ArrowType; use Bin; +use Buildable; use Button; use Container; #[cfg(any(feature = "v3_6", feature = "dox"))] @@ -34,7 +35,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct MenuButton(Object): ToggleButton, Button, Bin, Container, Widget, Actionable; + pub struct MenuButton(Object): ToggleButton, Button, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_menu_button_get_type(), diff --git a/src/auto/menu_item.rs b/src/auto/menu_item.rs index 3aacdde9e4..bb4e84e572 100644 --- a/src/auto/menu_item.rs +++ b/src/auto/menu_item.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Container; use Menu; use Widget; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct MenuItem(Object): Bin, Container, Widget, Actionable; + pub struct MenuItem(Object): Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_menu_item_get_type(), diff --git a/src/auto/menu_shell.rs b/src/auto/menu_shell.rs index 78423d4e46..303f04a7d8 100644 --- a/src/auto/menu_shell.rs +++ b/src/auto/menu_shell.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use DirectionType; use MenuDirectionType; @@ -25,7 +26,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct MenuShell(Object): Container, Widget; + pub struct MenuShell(Object): Container, Widget, Buildable; match fn { get_type => || ffi::gtk_menu_shell_get_type(), diff --git a/src/auto/menu_tool_button.rs b/src/auto/menu_tool_button.rs index 5a2bbf7d3a..490b82ac12 100644 --- a/src/auto/menu_tool_button.rs +++ b/src/auto/menu_tool_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Container; use ToolButton; use ToolItem; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct MenuToolButton(Object): ToolButton, ToolItem, Bin, Container, Widget, Actionable; + pub struct MenuToolButton(Object): ToolButton, ToolItem, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_menu_tool_button_get_type(), diff --git a/src/auto/message_dialog.rs b/src/auto/message_dialog.rs index 000c1f0833..7405c4fbaa 100644 --- a/src/auto/message_dialog.rs +++ b/src/auto/message_dialog.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Dialog; use MessageType; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct MessageDialog(Object): Dialog, Window, Bin, Container, Widget; + pub struct MessageDialog(Object): Dialog, Window, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_message_dialog_get_type(), diff --git a/src/auto/misc.rs b/src/auto/misc.rs index 8376bdf97a..3e88820b76 100644 --- a/src/auto/misc.rs +++ b/src/auto/misc.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Widget; use ffi; use glib; @@ -18,7 +19,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Misc(Object): Widget; + pub struct Misc(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_misc_get_type(), diff --git a/src/auto/mod.rs b/src/auto/mod.rs index 9e73865e60..b9fda8b712 100644 --- a/src/auto/mod.rs +++ b/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT mod about_dialog; @@ -64,6 +64,10 @@ mod box_; pub use self::box_::Box; pub use self::box_::BoxExt; +mod buildable; +pub use self::buildable::Buildable; +pub use self::buildable::BuildableExt; + mod builder; pub use self::builder::Builder; pub use self::builder::BuilderExt; @@ -947,6 +951,7 @@ pub mod traits { pub use super::AssistantExt; pub use super::BinExt; pub use super::BoxExt; + pub use super::BuildableExt; pub use super::BuilderExt; pub use super::ButtonExt; pub use super::ButtonBoxExt; diff --git a/src/auto/model_button.rs b/src/auto/model_button.rs index d65e50943f..98132561f7 100644 --- a/src/auto/model_button.rs +++ b/src/auto/model_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Button; #[cfg(any(feature = "v3_16", feature = "dox"))] use ButtonRole; @@ -31,7 +32,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ModelButton(Object): Button, Bin, Container, Widget, Actionable; + pub struct ModelButton(Object): Button, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_model_button_get_type(), diff --git a/src/auto/notebook.rs b/src/auto/notebook.rs index 453fa6470e..149abc6809 100644 --- a/src/auto/notebook.rs +++ b/src/auto/notebook.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use DirectionType; use NotebookTab; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Notebook(Object): Container, Widget; + pub struct Notebook(Object): Container, Widget, Buildable; match fn { get_type => || ffi::gtk_notebook_get_type(), diff --git a/src/auto/orientable.rs b/src/auto/orientable.rs index 54d770eb32..a044083953 100644 --- a/src/auto/orientable.rs +++ b/src/auto/orientable.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Orientation; diff --git a/src/auto/overlay.rs b/src/auto/overlay.rs index f99baf0169..cd5cdaf096 100644 --- a/src/auto/overlay.rs +++ b/src/auto/overlay.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Widget; use ffi; @@ -15,7 +16,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct Overlay(Object): Bin, Container, Widget; + pub struct Overlay(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_overlay_get_type(), diff --git a/src/auto/page_setup.rs b/src/auto/page_setup.rs index 3c89bf96f8..e518fc3e39 100644 --- a/src/auto/page_setup.rs +++ b/src/auto/page_setup.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/paned.rs b/src/auto/paned.rs index b52bf594ab..82049844f1 100644 --- a/src/auto/paned.rs +++ b/src/auto/paned.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use Orientable; use Orientation; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Paned(Object): Container, Widget, Orientable; + pub struct Paned(Object): Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_paned_get_type(), diff --git a/src/auto/paper_size.rs b/src/auto/paper_size.rs index 6f13116c4b..e6163cbaab 100644 --- a/src/auto/paper_size.rs +++ b/src/auto/paper_size.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/places_sidebar.rs b/src/auto/places_sidebar.rs index ac28d2d39a..73b465c1ed 100644 --- a/src/auto/places_sidebar.rs +++ b/src/auto/places_sidebar.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use PlacesOpenFlags; use ScrolledWindow; @@ -26,7 +27,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct PlacesSidebar(Object): ScrolledWindow, Bin, Container, Widget; + pub struct PlacesSidebar(Object): ScrolledWindow, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_places_sidebar_get_type(), diff --git a/src/auto/popover.rs b/src/auto/popover.rs index 8a09f636bd..ff318d63c1 100644 --- a/src/auto/popover.rs +++ b/src/auto/popover.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; #[cfg(any(feature = "v3_20", feature = "dox"))] use PopoverConstraint; @@ -25,7 +26,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Popover(Object): Bin, Container, Widget; + pub struct Popover(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_popover_get_type(), diff --git a/src/auto/popover_menu.rs b/src/auto/popover_menu.rs index bb67f5e4ee..9a3e4c6786 100644 --- a/src/auto/popover_menu.rs +++ b/src/auto/popover_menu.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Popover; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct PopoverMenu(Object): Popover, Bin, Container, Widget; + pub struct PopoverMenu(Object): Popover, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_popover_menu_get_type(), diff --git a/src/auto/print_context.rs b/src/auto/print_context.rs index 4e7ed77594..6e429875f6 100644 --- a/src/auto/print_context.rs +++ b/src/auto/print_context.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use PageSetup; diff --git a/src/auto/print_settings.rs b/src/auto/print_settings.rs index cefcb20d82..4fac7e95f5 100644 --- a/src/auto/print_settings.rs +++ b/src/auto/print_settings.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/progress_bar.rs b/src/auto/progress_bar.rs index d59e470ecd..3ff80e5ce4 100644 --- a/src/auto/progress_bar.rs +++ b/src/auto/progress_bar.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Orientable; use Widget; use ffi; @@ -19,7 +20,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ProgressBar(Object): Widget, Orientable; + pub struct ProgressBar(Object): Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_progress_bar_get_type(), diff --git a/src/auto/radio_button.rs b/src/auto/radio_button.rs index 27fbb716d8..75f3854c08 100644 --- a/src/auto/radio_button.rs +++ b/src/auto/radio_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Button; use CheckButton; use Container; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct RadioButton(Object): CheckButton, ToggleButton, Button, Bin, Container, Widget, Actionable; + pub struct RadioButton(Object): CheckButton, ToggleButton, Button, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_radio_button_get_type(), diff --git a/src/auto/radio_menu_item.rs b/src/auto/radio_menu_item.rs index 9d13f9d184..b6fd0b6202 100644 --- a/src/auto/radio_menu_item.rs +++ b/src/auto/radio_menu_item.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use CheckMenuItem; use Container; use MenuItem; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct RadioMenuItem(Object): CheckMenuItem, MenuItem, Bin, Container, Widget, Actionable; + pub struct RadioMenuItem(Object): CheckMenuItem, MenuItem, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_radio_menu_item_get_type(), diff --git a/src/auto/radio_tool_button.rs b/src/auto/radio_tool_button.rs index 7fd5d8ac5b..ba9c9afa4e 100644 --- a/src/auto/radio_tool_button.rs +++ b/src/auto/radio_tool_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Container; use RadioButton; use ToggleToolButton; @@ -19,7 +20,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct RadioToolButton(Object): ToggleToolButton, ToolButton, ToolItem, Bin, Container, Widget, Actionable; + pub struct RadioToolButton(Object): ToggleToolButton, ToolButton, ToolItem, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_radio_tool_button_get_type(), diff --git a/src/auto/range.rs b/src/auto/range.rs index 2414207a14..2cdacbcd28 100644 --- a/src/auto/range.rs +++ b/src/auto/range.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; +use Buildable; use Orientable; use ScrollType; use SensitivityType; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Range(Object): Widget, Orientable; + pub struct Range(Object): Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_range_get_type(), diff --git a/src/auto/recent_chooser.rs b/src/auto/recent_chooser.rs index 01d046e0ff..5c43a7c11c 100644 --- a/src/auto/recent_chooser.rs +++ b/src/auto/recent_chooser.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/recent_chooser_dialog.rs b/src/auto/recent_chooser_dialog.rs index 6137173cfb..7d3b6a9079 100644 --- a/src/auto/recent_chooser_dialog.rs +++ b/src/auto/recent_chooser_dialog.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Dialog; use RecentChooser; @@ -15,7 +16,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct RecentChooserDialog(Object): Dialog, Window, Bin, Container, Widget, RecentChooser; + pub struct RecentChooserDialog(Object): Dialog, Window, Bin, Container, Widget, Buildable, RecentChooser; match fn { get_type => || ffi::gtk_recent_chooser_dialog_get_type(), diff --git a/src/auto/recent_chooser_widget.rs b/src/auto/recent_chooser_widget.rs index 93e9db306f..1ee0c62c2d 100644 --- a/src/auto/recent_chooser_widget.rs +++ b/src/auto/recent_chooser_widget.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use Container; use Orientable; use RecentChooser; @@ -16,7 +17,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct RecentChooserWidget(Object): Box, Container, Widget, Orientable, RecentChooser; + pub struct RecentChooserWidget(Object): Box, Container, Widget, Buildable, Orientable, RecentChooser; match fn { get_type => || ffi::gtk_recent_chooser_widget_get_type(), diff --git a/src/auto/recent_filter.rs b/src/auto/recent_filter.rs index d465003ff9..679739eeda 100644 --- a/src/auto/recent_filter.rs +++ b/src/auto/recent_filter.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use RecentFilterFlags; use ffi; use glib::object::IsA; @@ -11,7 +12,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct RecentFilter(Object); + pub struct RecentFilter(Object): Buildable; match fn { get_type => || ffi::gtk_recent_filter_get_type(), diff --git a/src/auto/recent_info.rs b/src/auto/recent_info.rs index fd2c1c4133..06be296c92 100644 --- a/src/auto/recent_info.rs +++ b/src/auto/recent_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/recent_manager.rs b/src/auto/recent_manager.rs index eba5af248e..37c54157f3 100644 --- a/src/auto/recent_manager.rs +++ b/src/auto/recent_manager.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Error; diff --git a/src/auto/revealer.rs b/src/auto/revealer.rs index a489d9da50..83f3a5e51e 100644 --- a/src/auto/revealer.rs +++ b/src/auto/revealer.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use RevealerTransitionType; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Revealer(Object): Bin, Container, Widget; + pub struct Revealer(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_revealer_get_type(), diff --git a/src/auto/scale.rs b/src/auto/scale.rs index a68ad16f5a..bd1d458368 100644 --- a/src/auto/scale.rs +++ b/src/auto/scale.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; +use Buildable; use Orientable; use Orientation; use PositionType; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Scale(Object): Range, Widget, Orientable; + pub struct Scale(Object): Range, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_scale_get_type(), diff --git a/src/auto/scale_button.rs b/src/auto/scale_button.rs index 7912c85349..b61fca2ad7 100644 --- a/src/auto/scale_button.rs +++ b/src/auto/scale_button.rs @@ -1,9 +1,10 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Adjustment; use Bin; +use Buildable; use Button; use Container; use IconSize; @@ -26,7 +27,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ScaleButton(Object): Button, Bin, Container, Widget, Actionable, Orientable; + pub struct ScaleButton(Object): Button, Bin, Container, Widget, Buildable, Actionable, Orientable; match fn { get_type => || ffi::gtk_scale_button_get_type(), diff --git a/src/auto/scrollable.rs b/src/auto/scrollable.rs index cd10ff56ca..f33e3212fd 100644 --- a/src/auto/scrollable.rs +++ b/src/auto/scrollable.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; diff --git a/src/auto/scrollbar.rs b/src/auto/scrollbar.rs index f66b9a214d..7a2ffac799 100644 --- a/src/auto/scrollbar.rs +++ b/src/auto/scrollbar.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; +use Buildable; use Orientable; use Orientation; use Range; @@ -15,7 +16,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct Scrollbar(Object): Range, Widget, Orientable; + pub struct Scrollbar(Object): Range, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_scrollbar_get_type(), diff --git a/src/auto/scrolled_window.rs b/src/auto/scrolled_window.rs index 3809bc07e1..dae60851a9 100644 --- a/src/auto/scrolled_window.rs +++ b/src/auto/scrolled_window.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; use Bin; +use Buildable; use Container; use CornerType; use DirectionType; @@ -28,7 +29,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ScrolledWindow(Object): Bin, Container, Widget; + pub struct ScrolledWindow(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_scrolled_window_get_type(), diff --git a/src/auto/search_bar.rs b/src/auto/search_bar.rs index 8cab2bde0a..033e63c421 100644 --- a/src/auto/search_bar.rs +++ b/src/auto/search_bar.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; #[cfg(any(feature = "v3_10", feature = "dox"))] use Entry; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct SearchBar(Object): Bin, Container, Widget; + pub struct SearchBar(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_search_bar_get_type(), diff --git a/src/auto/search_entry.rs b/src/auto/search_entry.rs index 81551ed6b3..8391c73bad 100644 --- a/src/auto/search_entry.rs +++ b/src/auto/search_entry.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use CellEditable; use Editable; use Entry; @@ -26,7 +27,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct SearchEntry(Object): Entry, Widget, CellEditable, Editable; + pub struct SearchEntry(Object): Entry, Widget, Buildable, CellEditable, Editable; match fn { get_type => || ffi::gtk_search_entry_get_type(), diff --git a/src/auto/selection_data.rs b/src/auto/selection_data.rs index f743d61819..c9d1b9584b 100644 --- a/src/auto/selection_data.rs +++ b/src/auto/selection_data.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use TextBuffer; diff --git a/src/auto/separator.rs b/src/auto/separator.rs index 2dcd62587f..062fbe1c3f 100644 --- a/src/auto/separator.rs +++ b/src/auto/separator.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Orientable; use Orientation; use Widget; @@ -13,7 +14,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct Separator(Object): Widget, Orientable; + pub struct Separator(Object): Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_separator_get_type(), diff --git a/src/auto/separator_menu_item.rs b/src/auto/separator_menu_item.rs index a4236c4b31..c768b2ef3c 100644 --- a/src/auto/separator_menu_item.rs +++ b/src/auto/separator_menu_item.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Container; use MenuItem; use Widget; @@ -15,7 +16,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct SeparatorMenuItem(Object): MenuItem, Bin, Container, Widget, Actionable; + pub struct SeparatorMenuItem(Object): MenuItem, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_separator_menu_item_get_type(), diff --git a/src/auto/separator_tool_item.rs b/src/auto/separator_tool_item.rs index a632e0d2d8..5534afa22d 100644 --- a/src/auto/separator_tool_item.rs +++ b/src/auto/separator_tool_item.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use ToolItem; use Widget; @@ -20,7 +21,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct SeparatorToolItem(Object): ToolItem, Bin, Container, Widget; + pub struct SeparatorToolItem(Object): ToolItem, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_separator_tool_item_get_type(), diff --git a/src/auto/settings.rs b/src/auto/settings.rs index 893e303962..9b12d02bb3 100644 --- a/src/auto/settings.rs +++ b/src/auto/settings.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CornerType; diff --git a/src/auto/shortcuts_window.rs b/src/auto/shortcuts_window.rs index 337df5c8cf..ea03617795 100644 --- a/src/auto/shortcuts_window.rs +++ b/src/auto/shortcuts_window.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Widget; use Window; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ShortcutsWindow(Object): Window, Bin, Container, Widget; + pub struct ShortcutsWindow(Object): Window, Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_shortcuts_window_get_type(), diff --git a/src/auto/size_group.rs b/src/auto/size_group.rs index 7d658caa38..c09b37ea69 100644 --- a/src/auto/size_group.rs +++ b/src/auto/size_group.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use SizeGroupMode; use Widget; use ffi; @@ -18,7 +19,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct SizeGroup(Object); + pub struct SizeGroup(Object): Buildable; match fn { get_type => || ffi::gtk_size_group_get_type(), diff --git a/src/auto/spin_button.rs b/src/auto/spin_button.rs index 4688a51855..759507585d 100644 --- a/src/auto/spin_button.rs +++ b/src/auto/spin_button.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; +use Buildable; use CellEditable; use Editable; use Entry; @@ -25,7 +26,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct SpinButton(Object): Entry, Widget, CellEditable, Editable, Orientable; + pub struct SpinButton(Object): Entry, Widget, Buildable, CellEditable, Editable, Orientable; match fn { get_type => || ffi::gtk_spin_button_get_type(), diff --git a/src/auto/spinner.rs b/src/auto/spinner.rs index 326499bd3e..4cf9e80776 100644 --- a/src/auto/spinner.rs +++ b/src/auto/spinner.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Widget; use ffi; use glib; @@ -18,7 +19,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Spinner(Object): Widget; + pub struct Spinner(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_spinner_get_type(), diff --git a/src/auto/stack.rs b/src/auto/stack.rs index 03d02f4f10..9da9b10b9b 100644 --- a/src/auto/stack.rs +++ b/src/auto/stack.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use StackTransitionType; use Widget; @@ -20,7 +21,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Stack(Object): Container, Widget; + pub struct Stack(Object): Container, Widget, Buildable; match fn { get_type => || ffi::gtk_stack_get_type(), diff --git a/src/auto/stack_sidebar.rs b/src/auto/stack_sidebar.rs index fcaf8f90a1..e2f1a26393 100644 --- a/src/auto/stack_sidebar.rs +++ b/src/auto/stack_sidebar.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Stack; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct StackSidebar(Object): Bin, Container, Widget; + pub struct StackSidebar(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_stack_sidebar_get_type(), diff --git a/src/auto/stack_switcher.rs b/src/auto/stack_switcher.rs index 939a52f703..0756a15404 100644 --- a/src/auto/stack_switcher.rs +++ b/src/auto/stack_switcher.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use Container; use Orientable; use Stack; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct StackSwitcher(Object): Box, Container, Widget, Orientable; + pub struct StackSwitcher(Object): Box, Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_stack_switcher_get_type(), diff --git a/src/auto/status_icon.rs b/src/auto/status_icon.rs index 9a730cb88f..1bfac687b8 100644 --- a/src/auto/status_icon.rs +++ b/src/auto/status_icon.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ImageType; diff --git a/src/auto/statusbar.rs b/src/auto/statusbar.rs index 601b4e8838..8083bee7d4 100644 --- a/src/auto/statusbar.rs +++ b/src/auto/statusbar.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Box; +use Buildable; use Container; use Orientable; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Statusbar(Object): Box, Container, Widget, Orientable; + pub struct Statusbar(Object): Box, Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_statusbar_get_type(), diff --git a/src/auto/style_context.rs b/src/auto/style_context.rs index a1dea61f7a..27cc524593 100644 --- a/src/auto/style_context.rs +++ b/src/auto/style_context.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use CssSection; diff --git a/src/auto/style_properties.rs b/src/auto/style_properties.rs index e74a88a012..c2f5e51745 100644 --- a/src/auto/style_properties.rs +++ b/src/auto/style_properties.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use StateFlags; diff --git a/src/auto/style_provider.rs b/src/auto/style_provider.rs index 5d34ceddae..705b43ad22 100644 --- a/src/auto/style_provider.rs +++ b/src/auto/style_provider.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/switch.rs b/src/auto/switch.rs index 4e2bdd496f..d4baadc155 100644 --- a/src/auto/switch.rs +++ b/src/auto/switch.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; +use Buildable; use Widget; use ffi; use glib; @@ -20,7 +21,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Switch(Object): Widget, Actionable; + pub struct Switch(Object): Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_switch_get_type(), diff --git a/src/auto/symbolic_color.rs b/src/auto/symbolic_color.rs index 7abcb5ef6e..e6dcef977b 100644 --- a/src/auto/symbolic_color.rs +++ b/src/auto/symbolic_color.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use StyleProperties; diff --git a/src/auto/target_list.rs b/src/auto/target_list.rs index 01f4437de0..2affda8ce9 100644 --- a/src/auto/target_list.rs +++ b/src/auto/target_list.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use TextBuffer; diff --git a/src/auto/text_attributes.rs b/src/auto/text_attributes.rs index 889cae2cba..54bbc47c3c 100644 --- a/src/auto/text_attributes.rs +++ b/src/auto/text_attributes.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/text_buffer.rs b/src/auto/text_buffer.rs index fba544f8da..b0d7adc81c 100644 --- a/src/auto/text_buffer.rs +++ b/src/auto/text_buffer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Clipboard; diff --git a/src/auto/text_child_anchor.rs b/src/auto/text_child_anchor.rs index b1bc074b70..4fd1cbe8e7 100644 --- a/src/auto/text_child_anchor.rs +++ b/src/auto/text_child_anchor.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Widget; diff --git a/src/auto/text_iter.rs b/src/auto/text_iter.rs index 685891ee57..c37098ff39 100644 --- a/src/auto/text_iter.rs +++ b/src/auto/text_iter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use TextBuffer; diff --git a/src/auto/text_mark.rs b/src/auto/text_mark.rs index 861894feb2..0ed26ef37e 100644 --- a/src/auto/text_mark.rs +++ b/src/auto/text_mark.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use TextBuffer; diff --git a/src/auto/text_tag.rs b/src/auto/text_tag.rs index 958dcd75c6..9214dd63c4 100644 --- a/src/auto/text_tag.rs +++ b/src/auto/text_tag.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Justification; diff --git a/src/auto/text_tag_table.rs b/src/auto/text_tag_table.rs index 880225fe85..e85fb754e9 100644 --- a/src/auto/text_tag_table.rs +++ b/src/auto/text_tag_table.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use TextTag; use ffi; use glib; @@ -17,7 +18,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct TextTagTable(Object); + pub struct TextTagTable(Object): Buildable; match fn { get_type => || ffi::gtk_text_tag_table_get_type(), diff --git a/src/auto/text_view.rs b/src/auto/text_view.rs index f44c3bdcf1..ee769a480e 100644 --- a/src/auto/text_view.rs +++ b/src/auto/text_view.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use DeleteType; #[cfg(any(feature = "v3_6", feature = "dox"))] @@ -42,7 +43,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct TextView(Object): Container, Widget, Scrollable; + pub struct TextView(Object): Container, Widget, Buildable, Scrollable; match fn { get_type => || ffi::gtk_text_view_get_type(), diff --git a/src/auto/toggle_button.rs b/src/auto/toggle_button.rs index fab0ae44d4..9a709c894d 100644 --- a/src/auto/toggle_button.rs +++ b/src/auto/toggle_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Button; use Container; use Widget; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ToggleButton(Object): Button, Bin, Container, Widget, Actionable; + pub struct ToggleButton(Object): Button, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_toggle_button_get_type(), diff --git a/src/auto/toggle_tool_button.rs b/src/auto/toggle_tool_button.rs index 9806ebacc3..6d48e41fc1 100644 --- a/src/auto/toggle_tool_button.rs +++ b/src/auto/toggle_tool_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Container; use ToolButton; use ToolItem; @@ -22,7 +23,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ToggleToolButton(Object): ToolButton, ToolItem, Bin, Container, Widget, Actionable; + pub struct ToggleToolButton(Object): ToolButton, ToolItem, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_toggle_tool_button_get_type(), diff --git a/src/auto/tool_button.rs b/src/auto/tool_button.rs index 84573abb06..acb9a6896b 100644 --- a/src/auto/tool_button.rs +++ b/src/auto/tool_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Container; use ToolItem; use Widget; @@ -21,7 +22,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ToolButton(Object): ToolItem, Bin, Container, Widget, Actionable; + pub struct ToolButton(Object): ToolItem, Bin, Container, Widget, Buildable, Actionable; match fn { get_type => || ffi::gtk_tool_button_get_type(), diff --git a/src/auto/tool_item.rs b/src/auto/tool_item.rs index da64ff7d9a..cdf99cca7b 100644 --- a/src/auto/tool_item.rs +++ b/src/auto/tool_item.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Bin; +use Buildable; use Container; use Orientation; use ReliefStyle; @@ -25,7 +26,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ToolItem(Object): Bin, Container, Widget; + pub struct ToolItem(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_tool_item_get_type(), diff --git a/src/auto/tool_item_group.rs b/src/auto/tool_item_group.rs index 3bb6de4a25..87cb1f8bab 100644 --- a/src/auto/tool_item_group.rs +++ b/src/auto/tool_item_group.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use ReliefStyle; use ToolItem; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ToolItemGroup(Object): Container, Widget, ToolShell; + pub struct ToolItemGroup(Object): Container, Widget, Buildable, ToolShell; match fn { get_type => || ffi::gtk_tool_item_group_get_type(), diff --git a/src/auto/tool_palette.rs b/src/auto/tool_palette.rs index 4d0f2c5ae2..934766f196 100644 --- a/src/auto/tool_palette.rs +++ b/src/auto/tool_palette.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use DestDefaults; use Orientable; @@ -29,7 +30,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct ToolPalette(Object): Container, Widget, Orientable, Scrollable; + pub struct ToolPalette(Object): Container, Widget, Buildable, Orientable, Scrollable; match fn { get_type => || ffi::gtk_tool_palette_get_type(), diff --git a/src/auto/tool_shell.rs b/src/auto/tool_shell.rs index d49dc2eda4..17b0284fa0 100644 --- a/src/auto/tool_shell.rs +++ b/src/auto/tool_shell.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Orientation; use ReliefStyle; use SizeGroup; @@ -16,7 +17,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct ToolShell(Object): Widget; + pub struct ToolShell(Object): Widget, Buildable; match fn { get_type => || ffi::gtk_tool_shell_get_type(), diff --git a/src/auto/toolbar.rs b/src/auto/toolbar.rs index 9bf940eec3..57feb2de28 100644 --- a/src/auto/toolbar.rs +++ b/src/auto/toolbar.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use Container; use IconSize; use Orientable; @@ -27,7 +28,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Toolbar(Object): Container, Widget, Orientable, ToolShell; + pub struct Toolbar(Object): Container, Widget, Buildable, Orientable, ToolShell; match fn { get_type => || ffi::gtk_toolbar_get_type(), diff --git a/src/auto/tooltip.rs b/src/auto/tooltip.rs index 58e13a982f..1abb968cb3 100644 --- a/src/auto/tooltip.rs +++ b/src/auto/tooltip.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Widget; diff --git a/src/auto/tree_iter.rs b/src/auto/tree_iter.rs index ccf01132e0..f09779b885 100644 --- a/src/auto/tree_iter.rs +++ b/src/auto/tree_iter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/tree_model.rs b/src/auto/tree_model.rs index ed1605f696..a85fe7ddaa 100644 --- a/src/auto/tree_model.rs +++ b/src/auto/tree_model.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use TreeIter; diff --git a/src/auto/tree_model_filter.rs b/src/auto/tree_model_filter.rs index 56f6487ad5..b541908217 100644 --- a/src/auto/tree_model_filter.rs +++ b/src/auto/tree_model_filter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use TreeIter; diff --git a/src/auto/tree_path.rs b/src/auto/tree_path.rs index bb59be7997..5df43a4f16 100644 --- a/src/auto/tree_path.rs +++ b/src/auto/tree_path.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use ffi; diff --git a/src/auto/tree_row_reference.rs b/src/auto/tree_row_reference.rs index 0e4f32f163..1df5f85c04 100644 --- a/src/auto/tree_row_reference.rs +++ b/src/auto/tree_row_reference.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use TreeModel; diff --git a/src/auto/tree_selection.rs b/src/auto/tree_selection.rs index 24ee12a188..c9baf4489b 100644 --- a/src/auto/tree_selection.rs +++ b/src/auto/tree_selection.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use SelectionMode; diff --git a/src/auto/tree_sortable.rs b/src/auto/tree_sortable.rs index 6778a7f019..53d34d9703 100644 --- a/src/auto/tree_sortable.rs +++ b/src/auto/tree_sortable.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use TreeModel; diff --git a/src/auto/tree_store.rs b/src/auto/tree_store.rs index c6449a3615..74d8a356fa 100644 --- a/src/auto/tree_store.rs +++ b/src/auto/tree_store.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use TreeIter; use TreeModel; use TreeSortable; @@ -13,7 +14,7 @@ use std::mem; use std::ptr; glib_wrapper! { - pub struct TreeStore(Object): TreeModel, TreeSortable; + pub struct TreeStore(Object): Buildable, TreeModel, TreeSortable; match fn { get_type => || ffi::gtk_tree_store_get_type(), diff --git a/src/auto/tree_view.rs b/src/auto/tree_view.rs index 944c890282..33ddfb3540 100644 --- a/src/auto/tree_view.rs +++ b/src/auto/tree_view.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use CellRenderer; use Container; use Entry; @@ -35,7 +36,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct TreeView(Object): Container, Widget, Scrollable; + pub struct TreeView(Object): Container, Widget, Buildable, Scrollable; match fn { get_type => || ffi::gtk_tree_view_get_type(), diff --git a/src/auto/tree_view_column.rs b/src/auto/tree_view_column.rs index 8d6c4adf7a..27298eb039 100644 --- a/src/auto/tree_view_column.rs +++ b/src/auto/tree_view_column.rs @@ -1,6 +1,7 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT +use Buildable; use CellArea; use CellLayout; use CellRenderer; @@ -26,7 +27,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct TreeViewColumn(Object): CellLayout; + pub struct TreeViewColumn(Object): Buildable, CellLayout; match fn { get_type => || ffi::gtk_tree_view_column_get_type(), diff --git a/src/auto/viewport.rs b/src/auto/viewport.rs index 00ede27f6c..f44e52f26d 100644 --- a/src/auto/viewport.rs +++ b/src/auto/viewport.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Adjustment; use Bin; +use Buildable; use Container; use Scrollable; use ShadowType; @@ -23,7 +24,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Viewport(Object): Bin, Container, Widget, Scrollable; + pub struct Viewport(Object): Bin, Container, Widget, Buildable, Scrollable; match fn { get_type => || ffi::gtk_viewport_get_type(), diff --git a/src/auto/volume_button.rs b/src/auto/volume_button.rs index a5e150c1e6..75a4186e26 100644 --- a/src/auto/volume_button.rs +++ b/src/auto/volume_button.rs @@ -1,8 +1,9 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Actionable; use Bin; +use Buildable; use Button; use Container; use Orientable; @@ -24,7 +25,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct VolumeButton(Object): ScaleButton, Button, Bin, Container, Widget, Actionable, Orientable; + pub struct VolumeButton(Object): ScaleButton, Button, Bin, Container, Widget, Buildable, Actionable, Orientable; match fn { get_type => || ffi::gtk_volume_button_get_type(), diff --git a/src/auto/widget.rs b/src/auto/widget.rs index b65dfce56f..cccb65ac3d 100644 --- a/src/auto/widget.rs +++ b/src/auto/widget.rs @@ -1,10 +1,11 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use AccelFlags; use AccelGroup; use Align; use Allocation; +use Buildable; use Clipboard; use DirectionType; use DragResult; @@ -45,7 +46,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Widget(Object); + pub struct Widget(Object): Buildable; match fn { get_type => || ffi::gtk_widget_get_type(), diff --git a/src/auto/window.rs b/src/auto/window.rs index fa70ce6439..a576128bc5 100644 --- a/src/auto/window.rs +++ b/src/auto/window.rs @@ -1,9 +1,10 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use AccelGroup; use Application; use Bin; +use Buildable; use Container; use Error; use Widget; @@ -29,7 +30,7 @@ use std::mem::transmute; use std::ptr; glib_wrapper! { - pub struct Window(Object): Bin, Container, Widget; + pub struct Window(Object): Bin, Container, Widget, Buildable; match fn { get_type => || ffi::gtk_window_get_type(), diff --git a/src/auto/window_group.rs b/src/auto/window_group.rs index fb2e7ff0ba..3745824dd0 100644 --- a/src/auto/window_group.rs +++ b/src/auto/window_group.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (0409d73) from gir-files (469db10) +// This file was generated by gir (e912ccf) from gir-files (469db10) // DO NOT EDIT use Widget; diff --git a/src/buildable.rs b/src/buildable.rs new file mode 100644 index 0000000000..2ef92bfcaa --- /dev/null +++ b/src/buildable.rs @@ -0,0 +1,28 @@ +// Copyright 2016, The Gtk-rs Project Developers. +// See the COPYRIGHT file at the top-level directory of this distribution. +// Licensed under the MIT license, see the LICENSE file or + +use ffi; +use glib::translate::*; +use Buildable; +use IsA; + +pub trait BuildableExtManual { + fn get_name(&self) -> Option; + + fn set_name(&self, name: &str); +} + +impl> BuildableExtManual for O { + fn get_name(&self) -> Option { + unsafe { + from_glib_none(ffi::gtk_buildable_get_name(self.to_glib_none().0)) + } + } + + fn set_name(&self, name: &str) { + unsafe { + ffi::gtk_buildable_set_name(self.to_glib_none().0, name.to_glib_none().0); + } + } +} diff --git a/src/lib.rs b/src/lib.rs index cd33e65793..af878abf9c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -200,6 +200,7 @@ mod auto; mod app_chooser; mod application; mod assistant; +mod buildable; mod builder; mod color_button; mod color_chooser; diff --git a/src/prelude.rs b/src/prelude.rs index cfcb913236..da4b53462c 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -10,6 +10,7 @@ pub use auto::traits::*; pub use app_chooser::AppChooserExt; pub use assistant::AssistantExtManual; +pub use buildable::BuildableExtManual; pub use color_button::ColorButtonExtManual; pub use color_chooser::ColorChooserExtManual; pub use dialog::DialogExtManual;