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

#include <properties_panel.h>

Public Attributes

BITMAP_BUTTON * button
 
wxString groupKey
 untranslated group name of host category
 
std::function< void()> action
 
std::function< bool()> enableFunc
 optional extra enable predicate
 
bool forceCategory = false
 Emit the category caption row even when it has no properties; the row is only forced on rebuilds where enableFunc() (if set) returns true.
 

Detailed Description

Definition at line 190 of file properties_panel.h.

Member Data Documentation

◆ action

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

Definition at line 194 of file properties_panel.h.

◆ button

BITMAP_BUTTON* PROPERTIES_PANEL::CATEGORY_BUTTON::button

Definition at line 192 of file properties_panel.h.

◆ enableFunc

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

optional extra enable predicate

Definition at line 195 of file properties_panel.h.

◆ forceCategory

bool PROPERTIES_PANEL::CATEGORY_BUTTON::forceCategory = false

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 199 of file properties_panel.h.

◆ groupKey

wxString PROPERTIES_PANEL::CATEGORY_BUTTON::groupKey

untranslated group name of host category

Definition at line 193 of file properties_panel.h.


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