Struct gtk::Builder
[−]
pub struct Builder(_, _);
Methods
impl Builder
[src]
fn new() -> Builder
fn new_from_file<T: AsRef<Path>>(file_path: T) -> Builder
fn new_from_resource(resource_path: &str) -> Builder
fn new_from_string(string: &str) -> Builder
fn get_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, string: &str) -> Result<(), Error>
fn set_translation_domain(&self, domain: Option<&str>)
fn get_translation_domain(&self) -> Option<String>
Trait Implementations
impl Clone for Builder
fn clone(&self) -> Builder
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Builder
impl Hash for Builder
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for Builder
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Builder
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.