pub unsafe trait WidgetClassSubclassExt: ClassStruct {
fn set_template_bytes(&mut self, template: &Bytes) { ... }
fn set_template(&mut self, template: &[u8]) { ... }
fn set_template_static(&mut self, template: &'static [u8]) { ... }
fn set_template_from_resource(&mut self, resource_name: &str) { ... }
fn bind_template_child(&mut self, name: &str) { ... }
unsafe fn bind_template_child_with_offset<T>(
&mut self,
name: &str,
offset: FieldOffset<Self::Type, TemplateChild<T>>
)
where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
{ ... }
fn set_css_name(&mut self, name: &str) { ... }
fn css_name(&self) -> GString { ... }
}
Provided Methods
fn set_template_bytes(&mut self, template: &Bytes)
fn set_template(&mut self, template: &[u8])
fn set_template_static(&mut self, template: &'static [u8])
fn set_template_from_resource(&mut self, resource_name: &str)
fn bind_template_child(&mut self, name: &str)
unsafe fn bind_template_child_with_offset<T>(
&mut self,
name: &str,
offset: FieldOffset<Self::Type, TemplateChild<T>>
) where
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
fn set_css_name(&mut self, name: &str)
fn set_css_name(&mut self, name: &str)
Available on crate feature
v3_20
only.