2020-10-04 23:34:59 +00:00
|
|
|
|
|
|
|
%include fp_text.h
|
2022-02-03 12:55:37 +00:00
|
|
|
%include fp_textbox.h
|
2020-10-04 23:34:59 +00:00
|
|
|
%{
|
|
|
|
#include <fp_text.h>
|
2022-02-03 12:55:37 +00:00
|
|
|
#include <fp_textbox.h>
|
2020-10-04 23:34:59 +00:00
|
|
|
%}
|
|
|
|
|
2023-05-11 23:39:09 +00:00
|
|
|
%extend FP_TEXT
|
|
|
|
{
|
|
|
|
%pythoncode
|
|
|
|
%{
|
|
|
|
# KiCad 6 API compatibility
|
|
|
|
def GetShownText(self):
|
|
|
|
r"""GetShownText(FP_TEXT self) -> wxString"""
|
|
|
|
return _pcbnew.FP_TEXT_GetShownText(self, True, 0)
|
|
|
|
%}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%extend FP_TEXTBOX
|
|
|
|
{
|
|
|
|
%pythoncode
|
|
|
|
%{
|
|
|
|
# KiCad 6 API compatibility
|
|
|
|
def GetShownText(self):
|
|
|
|
r"""GetShownText(FP_TEXTBOX self) -> wxString"""
|
|
|
|
return _pcbnew.FP_TEXTBOX_GetShownText(self, True, 0)
|
|
|
|
%}
|
|
|
|
}
|