Struct gtk::StyleProperties
[−]
pub struct StyleProperties(_, _);
Methods
impl StyleProperties
[src]
fn new() -> StyleProperties
fn clear(&self)
fn get_property(&self, property: &str, state: StateFlags) -> Option<Value>
fn lookup_color(&self, name: &str) -> Option<SymbolicColor>
fn map_color(&self, name: &str, color: &SymbolicColor)
fn merge(&self, props_to_merge: &StyleProperties, replace: bool)
fn set_property(&self, property: &str, state: StateFlags, value: &Value)
fn unset_property(&self, property: &str, state: StateFlags)
Trait Implementations
impl Clone for StyleProperties
fn clone(&self) -> StyleProperties
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 StyleProperties
impl Hash for StyleProperties
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for StyleProperties
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for StyleProperties
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 !=
.