2018-10-31 16:10:30 +00:00
|
|
|
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
|
|
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
2021-04-01 13:58:41 +00:00
|
|
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
2018-10-31 16:10:30 +00:00
|
|
|
// DO NOT EDIT
|
|
|
|
|
2020-11-22 10:12:36 +00:00
|
|
|
use crate::Container;
|
|
|
|
use crate::Extractable;
|
2021-09-19 08:07:33 +00:00
|
|
|
use crate::MetaContainer;
|
2020-11-22 10:12:36 +00:00
|
|
|
use crate::TimelineElement;
|
2018-10-31 16:10:30 +00:00
|
|
|
use glib::translate::*;
|
|
|
|
|
2020-12-17 22:34:53 +00:00
|
|
|
glib::wrapper! {
|
2021-06-02 07:47:51 +00:00
|
|
|
#[doc(alias = "GESGroup")]
|
2021-09-19 08:07:33 +00:00
|
|
|
pub struct Group(Object<ffi::GESGroup, ffi::GESGroupClass>) @extends Container, TimelineElement, @implements Extractable, MetaContainer;
|
2018-10-31 16:10:30 +00:00
|
|
|
|
|
|
|
match fn {
|
2021-04-19 19:55:01 +00:00
|
|
|
type_ => || ffi::ges_group_get_type(),
|
2018-10-31 16:10:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Group {
|
2021-11-16 14:02:58 +00:00
|
|
|
pub const NONE: Option<&'static Group> = None;
|
|
|
|
|
2020-12-08 13:00:17 +00:00
|
|
|
#[doc(alias = "ges_group_new")]
|
2018-10-31 16:10:30 +00:00
|
|
|
pub fn new() -> Group {
|
|
|
|
assert_initialized_main_thread!();
|
2020-11-22 10:12:36 +00:00
|
|
|
unsafe { from_glib_none(ffi::ges_group_new()) }
|
2018-10-31 16:10:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Default for Group {
|
|
|
|
fn default() -> Self {
|
|
|
|
Self::new()
|
|
|
|
}
|
|
|
|
}
|