Struct gdk::Cursor[][src]

pub struct Cursor(_, _);

Implementations

impl Cursor[src]

pub fn new(cursor_type: CursorType) -> Cursor[src]

👎 Deprecated

pub fn new_for_display(display: &Display, cursor_type: CursorType) -> Cursor[src]

pub fn new_from_name(display: &Display, name: &str) -> Option<Cursor>[src]

pub fn new_from_pixbuf(
    display: &Display,
    pixbuf: &Pixbuf,
    x: i32,
    y: i32
) -> Cursor
[src]

pub fn new_from_surface(
    display: &Display,
    surface: &Surface,
    x: f64,
    y: f64
) -> Cursor
[src]

pub fn get_cursor_type(&self) -> CursorType[src]

pub fn get_display(&self) -> Display[src]

pub fn get_image(&self) -> Option<Pixbuf>[src]

pub fn get_surface(&self) -> (Option<Surface>, f64, f64)[src]

Trait Implementations

impl Clone for Cursor[src]

impl Debug for Cursor[src]

impl Display for Cursor[src]

impl Eq for Cursor[src]

impl Hash for Cursor[src]

impl Ord for Cursor[src]

impl<T: ObjectType> PartialEq<T> for Cursor[src]

impl<T: ObjectType> PartialOrd<T> for Cursor[src]

impl StaticType for Cursor[src]

Auto Trait Implementations

impl RefUnwindSafe for Cursor

impl !Send for Cursor

impl !Sync for Cursor

impl Unpin for Cursor

impl UnwindSafe for Cursor

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.