Trait gtk::GLAreaExt[][src]

pub trait GLAreaExt: 'static {
    fn attach_buffers(&self);
fn get_auto_render(&self) -> bool;
fn get_context(&self) -> Option<GLContext>;
fn get_error(&self) -> Option<Error>;
fn get_has_alpha(&self) -> bool;
fn get_has_depth_buffer(&self) -> bool;
fn get_has_stencil_buffer(&self) -> bool;
fn get_required_version(&self) -> (i32, i32);
fn get_use_es(&self) -> bool;
fn make_current(&self);
fn queue_render(&self);
fn set_auto_render(&self, auto_render: bool);
fn set_error<'a, P: Into<Option<&'a Error>>>(&self, error: P);
fn set_has_alpha(&self, has_alpha: bool);
fn set_has_depth_buffer(&self, has_depth_buffer: bool);
fn set_has_stencil_buffer(&self, has_stencil_buffer: bool);
fn set_required_version(&self, major: i32, minor: i32);
fn set_use_es(&self, use_es: bool);
fn connect_create_context<F: Fn(&Self) -> Option<GLContext> + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_render<F: Fn(&Self, &GLContext) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_resize<F: Fn(&Self, i32, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_auto_render_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_context_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_has_alpha_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_has_depth_buffer_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_has_stencil_buffer_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_use_es_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn attach_buffers(&self)[src]

fn get_auto_render(&self) -> bool[src]

fn get_context(&self) -> Option<GLContext>[src]

fn get_error(&self) -> Option<Error>[src]

fn get_has_alpha(&self) -> bool[src]

fn get_has_depth_buffer(&self) -> bool[src]

fn get_has_stencil_buffer(&self) -> bool[src]

fn get_required_version(&self) -> (i32, i32)[src]

fn get_use_es(&self) -> bool[src]

fn make_current(&self)[src]

fn queue_render(&self)[src]

fn set_auto_render(&self, auto_render: bool)[src]

fn set_error<'a, P: Into<Option<&'a Error>>>(&self, error: P)[src]

fn set_has_alpha(&self, has_alpha: bool)[src]

fn set_has_depth_buffer(&self, has_depth_buffer: bool)[src]

fn set_has_stencil_buffer(&self, has_stencil_buffer: bool)[src]

fn set_required_version(&self, major: i32, minor: i32)[src]

fn set_use_es(&self, use_es: bool)[src]

fn connect_create_context<F: Fn(&Self) -> Option<GLContext> + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_render<F: Fn(&Self, &GLContext) -> Inhibit + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_resize<F: Fn(&Self, i32, i32) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_auto_render_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_context_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_has_alpha_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_has_depth_buffer_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_has_stencil_buffer_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_use_es_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<GLArea>> GLAreaExt for O[src]

Loading content...