Blender  V3.3
interface_button_group.c File Reference
#include "BLI_listbase.h"
#include "MEM_guardedalloc.h"
#include "interface_intern.h"

Go to the source code of this file.

Functions

Button Groups
void ui_block_new_button_group (uiBlock *block, uiButtonGroupFlag flag)
 
void ui_button_group_add_but (uiBlock *block, uiBut *but)
 
static void button_group_free (uiButtonGroup *button_group)
 
void ui_block_free_button_groups (uiBlock *block)
 
void ui_button_group_replace_but_ptr (uiBlock *block, const void *old_but_ptr, uiBut *new_but)
 

Function Documentation

◆ button_group_free()

static void button_group_free ( uiButtonGroup button_group)
static

Definition at line 47 of file interface_button_group.c.

References BLI_freelistN(), uiButtonGroup::buttons, and MEM_freeN.

Referenced by ui_block_free_button_groups().

◆ ui_block_free_button_groups()

void ui_block_free_button_groups ( uiBlock block)

◆ ui_block_new_button_group()

void ui_block_new_button_group ( uiBlock block,
uiButtonGroupFlag  flag 
)

◆ ui_button_group_add_but()

void ui_button_group_add_but ( uiBlock block,
uiBut but 
)

◆ ui_button_group_replace_but_ptr()

void ui_button_group_replace_but_ptr ( uiBlock block,
const void old_but_ptr,
uiBut new_but 
)