Skip to main content

wxd_BitmapToggleButton_Create

Function wxd_BitmapToggleButton_Create 

Source
pub unsafe extern "C" fn wxd_BitmapToggleButton_Create(
    parent: *mut wxd_Window_t,
    id: wxd_Id,
    bitmap: *const wxd_Bitmap_t,
    pos: wxd_Point,
    size: wxd_Size,
    style: wxd_Style_t,
    name: *const c_char,
    bitmap_disabled: *const wxd_Bitmap_t,
    bitmap_focus: *const wxd_Bitmap_t,
    bitmap_pressed: *const wxd_Bitmap_t,
) -> *mut wxd_BitmapToggleButton_t
Expand description

Creates a new wxBitmapToggleButton. @param parent The parent window (required). @param id The window identifier. @param bitmap The main bitmap to display (can be NULL for empty bitmap). @param pos The button position. @param size The button size. @param style The button style flags. @param name The window name for lookup. @param bitmap_disabled The bitmap for disabled state (can be NULL). @param bitmap_focus The bitmap for focused state (can be NULL). @param bitmap_pressed The bitmap for pressed/toggled state (can be NULL). @return A pointer to the new button, or NULL on failure.