rute 0.0.6

UI library implemented on top of Qt
Documentation
// This file is auto-generated by rute_gen. DO NOT EDIT.
use rute_ffi_base::*;

#[allow(unused_imports)]
use auto::object_ffi::*;
#[allow(unused_imports)]
use auto::paint_device_ffi::*;
#[allow(unused_imports)]
use auto::widget_ffi::*;
#[allow(unused_imports)]
use std::os::raw::c_void;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUPushButtonFuncs {
    pub destroy: extern "C" fn(self_c: *const RUBase),
    pub auto_default: extern "C" fn(self_c: *const RUBase) -> bool,
    pub set_auto_default: extern "C" fn(self_c: *const RUBase, arg0: bool),
    pub is_default: extern "C" fn(self_c: *const RUBase) -> bool,
    pub set_default: extern "C" fn(self_c: *const RUBase, arg0: bool),
    pub set_flat: extern "C" fn(self_c: *const RUBase, arg0: bool),
    pub is_flat: extern "C" fn(self_c: *const RUBase) -> bool,
    pub show_menu: extern "C" fn(self_c: *const RUBase),
    pub set_text: extern "C" fn(self_c: *const RUBase, text: *const ::std::os::raw::c_char),
    pub text: extern "C" fn(self_c: *const RUBase) -> *const ::std::os::raw::c_char,
    pub set_pressed_event: extern "C" fn(
        object: *const RUBase,
        user_data: *const c_void,
        trampoline_func: *const c_void,
        callback: *const c_void,
    ),

    pub set_released_event: extern "C" fn(
        object: *const RUBase,
        user_data: *const c_void,
        trampoline_func: *const c_void,
        callback: *const c_void,
    ),

    pub set_clicked_event: extern "C" fn(
        object: *const RUBase,
        user_data: *const c_void,
        trampoline_func: *const c_void,
        callback: *const c_void,
    ),

    pub set_toggled_event: extern "C" fn(
        object: *const RUBase,
        user_data: *const c_void,
        trampoline_func: *const c_void,
        callback: *const c_void,
    ),
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUPushButtonAllFuncs {
    pub object_funcs: *const RUObjectFuncs,
    pub paint_device_funcs: *const RUPaintDeviceFuncs,
    pub widget_funcs: *const RUWidgetFuncs,
    pub push_button_funcs: *const RUPushButtonFuncs,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUPushButton {
    pub qt_data: *const RUBase,
    pub host_data: *const RUBase,
    pub all_funcs: *const RUPushButtonAllFuncs,
}