Struct gtk::ColorButton
[−]
pub struct ColorButton(_, _);
Methods
impl ColorButton
[src]
fn new() -> ColorButton
fn get_title(&self) -> Option<String>
fn set_title(&self, title: &str)
fn get_property_alpha(&self) -> u32
fn set_property_alpha(&self, alpha: u32)
fn get_property_use_alpha(&self) -> bool
fn set_property_use_alpha(&self, use_alpha: bool)
fn connect_color_set<F: Fn(&ColorButton) + 'static>(&self, f: F) -> u64
impl ColorButton
[src]
fn new_with_color(color: &Color) -> ColorButton
fn new_with_rgba(rgba: &RGBA) -> ColorButton
fn get_color(&self) -> Color
fn get_rgba(&self) -> RGBA
fn set_color(&self, color: &Color)
fn set_rgba(&self, rgba: &RGBA)
Trait Implementations
impl Clone for ColorButton
fn clone(&self) -> ColorButton
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 ColorButton
impl Hash for ColorButton
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 ColorButton
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for ColorButton
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 !=
.