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::abstract_button_ffi::RUAbstractButton;
#[allow(unused_imports)]
use auto::object_ffi::*;
#[allow(unused_imports)]
use std::os::raw::c_void;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUButtonGroupFuncs {
    pub set_exclusive: extern "C" fn(self_c: *const RUBase, arg0: bool),
    pub exclusive: extern "C" fn(self_c: *const RUBase) -> bool,
    pub add_button: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase, id: i32),
    pub remove_button: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase),
    pub checked_button: extern "C" fn(self_c: *const RUBase) -> RUAbstractButton,
    pub button: extern "C" fn(self_c: *const RUBase, id: i32) -> RUAbstractButton,
    pub set_id: extern "C" fn(self_c: *const RUBase, button: *const RUBase, id: i32),
    pub id: extern "C" fn(self_c: *const RUBase, button: *const RUBase) -> i32,
    pub checked_id: extern "C" fn(self_c: *const RUBase) -> i32,
    pub set_button_clicked_event: extern "C" fn(
        object: *const RUBase,
        user_data: *const c_void,
        trampoline_func: *const c_void,
        callback: *const c_void,
    ),

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

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

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

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

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

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

    pub set_button_toggled_2_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 RUButtonGroupAllFuncs {
    pub object_funcs: *const RUObjectFuncs,
    pub button_group_funcs: *const RUButtonGroupFuncs,
}

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