pub trait BuilderExtManual: IsA<Builder> + Sealed + 'static {
// Provided methods
fn object<T: IsA<Object>>(&self, name: &str) -> Option<T> { ... }
fn add_from_file<T: AsRef<Path>>(&self, file_path: T) -> Result<(), Error> { ... }
fn add_from_resource(&self, resource_path: &str) -> Result<(), Error> { ... }
fn add_from_string(&self, buffer: &str) -> Result<(), Error> { ... }
fn add_objects_from_resource(
&self,
resource_path: &str,
object_ids: &[&str]
) -> Result<(), Error> { ... }
fn add_objects_from_string(
&self,
buffer: &str,
object_ids: &[&str]
) -> Result<(), Error> { ... }
fn connect_signals<P: FnMut(&Builder, &str) -> Box<dyn Fn(&[Value]) -> Option<Value> + 'static>>(
&self,
func: P
) { ... }
fn extend_with_template(
&self,
widget: &impl IsA<Widget>,
template_type: Type,
buffer: &str
) -> Result<(), Error> { ... }
}