gtk 0.8.1

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

use super::window::WindowImpl;
use ApplicationWindowClass;
use WindowClass;

pub trait ApplicationWindowImpl: WindowImpl + 'static {}

unsafe impl<T: ObjectSubclass + ApplicationWindowImpl> IsSubclassable<T>
    for ApplicationWindowClass
{
    fn override_vfuncs(&mut self) {
        <WindowClass as IsSubclassable<T>>::override_vfuncs(self);
    }
}