gtk 0.19.0

Rust bindings for the GTK+ 3 library
Documentation
// Take a look at the license at the top of the repository in the LICENSE file.

use glib::object::IsA;
use glib::subclass::prelude::*;

use super::toggle_button::ToggleButtonImpl;
use crate::MenuButton;

pub trait MenuButtonImpl: ToggleButtonImpl + ObjectSubclass<Type: IsA<MenuButton>> {}

pub trait MenuButtonImplExt: MenuButtonImpl {}

impl<T: MenuButtonImpl> MenuButtonImplExt for T {}

unsafe impl<T: MenuButtonImpl> IsSubclassable<T> for MenuButton {
    fn class_init(class: &mut glib::Class<Self>) {
        Self::parent_class_init::<T>(class);
    }
}