Struct gdk::Cursor
[−]
pub struct Cursor(_, _);
Methods
impl Cursor
[src]
fn new(cursor_type: CursorType) -> Cursor
fn new_for_display(display: &Display, cursor_type: CursorType) -> Cursor
fn new_from_name(display: &Display, name: &str) -> Cursor
fn new_from_pixbuf(display: &Display, pixbuf: &Pixbuf, x: i32, y: i32) -> Cursor
fn new_from_surface(
display: &Display,
surface: &Surface,
x: f64,
y: f64
) -> Cursor
display: &Display,
surface: &Surface,
x: f64,
y: f64
) -> Cursor
Trait Implementations
impl Clone for Cursor
fn clone(&self) -> Cursor
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 Cursor
impl Hash for Cursor
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 Cursor
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Cursor
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 !=
.