KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PROPERTIES_PANEL::CATEGORY_BUTTON Struct Reference

#include <properties_panel.h>

Public Attributes

BITMAP_BUTTONbutton
 
wxString groupKey
 untranslated group name of host category
 
std::function< void()> action
 
std::function< bool()> enableFunc
 optional extra enable predicate
 
bool forceCategory = false
 

Detailed Description

Definition at line 181 of file properties_panel.h.

Member Data Documentation

◆ action

std::function<void()> PROPERTIES_PANEL::CATEGORY_BUTTON::action

Definition at line 185 of file properties_panel.h.

◆ button

BITMAP_BUTTON* PROPERTIES_PANEL::CATEGORY_BUTTON::button

Definition at line 183 of file properties_panel.h.

◆ enableFunc

std::function<bool()> PROPERTIES_PANEL::CATEGORY_BUTTON::enableFunc

optional extra enable predicate

Emit the category caption row even when it has no properties; the row is only forced on rebuilds where enableFunc() (if set) returns true.

Definition at line 186 of file properties_panel.h.

◆ forceCategory

bool PROPERTIES_PANEL::CATEGORY_BUTTON::forceCategory = false

Definition at line 190 of file properties_panel.h.

◆ groupKey

wxString PROPERTIES_PANEL::CATEGORY_BUTTON::groupKey

untranslated group name of host category

Definition at line 184 of file properties_panel.h.


The documentation for this struct was generated from the following file: