gtk 0.9.1

Rust bindings for the GTK+ 3 library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use glib::subclass::prelude::*;

use super::bin::BinImpl;
use BinClass;
use EventBoxClass;

pub trait EventBoxImpl: BinImpl + 'static {}

unsafe impl<T: ObjectSubclass + EventBoxImpl> IsSubclassable<T> for EventBoxClass {
    fn override_vfuncs(&mut self) {
        <BinClass as IsSubclassable<T>>::override_vfuncs(self);
    }
}