KiCad PCB EDA Suite
Loading...
Searching...
No Matches
TEXT_BUTTON_RUN_FUNCTION Class Referencefinal
Inheritance diagram for TEXT_BUTTON_RUN_FUNCTION:

Public Member Functions

 TEXT_BUTTON_RUN_FUNCTION (wxWindow *aParent, DIALOG_SHIM *aParentDlg, std::function< void(int, int)> &aFunction, int &aRow, int &aCol)
 

Protected Member Functions

void DoSetPopupControl (wxComboPopup *popup) override
 
void OnButtonClick () override
 

Protected Attributes

DIALOG_SHIMm_dlg
 
std::function< void(int, int)> & m_function
 
int & m_row
 
int & m_col
 

Detailed Description

Definition at line 625 of file grid_text_button_helpers.cpp.

Constructor & Destructor Documentation

◆ TEXT_BUTTON_RUN_FUNCTION()

TEXT_BUTTON_RUN_FUNCTION::TEXT_BUTTON_RUN_FUNCTION ( wxWindow * aParent,
DIALOG_SHIM * aParentDlg,
std::function< void(int, int)> & aFunction,
int & aRow,
int & aCol )
inline

Definition at line 628 of file grid_text_button_helpers.cpp.

References KiBitmapBundle(), m_col, m_dlg, m_function, m_row, and small_refresh.

Member Function Documentation

◆ DoSetPopupControl()

void TEXT_BUTTON_RUN_FUNCTION::DoSetPopupControl ( wxComboPopup * popup)
inlineoverrideprotected

Definition at line 644 of file grid_text_button_helpers.cpp.

◆ OnButtonClick()

void TEXT_BUTTON_RUN_FUNCTION::OnButtonClick ( )
inlineoverrideprotected

Definition at line 646 of file grid_text_button_helpers.cpp.

References m_col, m_function, and m_row.

Member Data Documentation

◆ m_col

int& TEXT_BUTTON_RUN_FUNCTION::m_col
protected

Definition at line 651 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_RUN_FUNCTION().

◆ m_dlg

DIALOG_SHIM* TEXT_BUTTON_RUN_FUNCTION::m_dlg
protected

Definition at line 648 of file grid_text_button_helpers.cpp.

Referenced by TEXT_BUTTON_RUN_FUNCTION().

◆ m_function

std::function<void( int, int )>& TEXT_BUTTON_RUN_FUNCTION::m_function
protected

Definition at line 649 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_RUN_FUNCTION().

◆ m_row

int& TEXT_BUTTON_RUN_FUNCTION::m_row
protected

Definition at line 650 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_RUN_FUNCTION().


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