richtextstyledefinition.tex

来自「Wxpython Implemented on Windows CE, Sou」· TEX 代码 · 共 73 行

TEX
73
字号
\section{\class{wxRichTextStyleDefinition}}\label{wxrichtextstyledefinition}

This is a base class for paragraph and character styles.

\wxheading{Derived from}

\helpref{wxObject}{wxobject}

\wxheading{Include files}

<wx/richtext/richtextstyles.h>

\wxheading{Data structures}

\latexignore{\rtfignore{\wxheading{Members}}}

\membersection{wxRichTextStyleDefinition::wxRichTextStyleDefinition}\label{wxrichtextstyledefinitionwxrichtextstyledefinition}

\func{}{wxRichTextStyleDefinition}{\param{const wxString\& }{name = wxEmptyString}}

Constructor.

\membersection{wxRichTextStyleDefinition::\destruct{wxRichTextStyleDefinition}}\label{wxrichtextstyledefinitiondtor}

\func{}{\destruct{wxRichTextStyleDefinition}}{\void}

Destructor.

\membersection{wxRichTextStyleDefinition::GetBaseStyle}\label{wxrichtextstyledefinitiongetbasestyle}

\constfunc{const wxString\&}{GetBaseStyle}{\void}

Returns the style on which this style is based.

\membersection{wxRichTextStyleDefinition::GetName}\label{wxrichtextstyledefinitiongetname}

\constfunc{const wxString\&}{GetName}{\void}

Returns the style name.

\membersection{wxRichTextStyleDefinition::GetStyle}\label{wxrichtextstyledefinitiongetstyle}

\func{wxRichTextAttr\&}{GetStyle}{\void}

\constfunc{const wxRichTextAttr\&}{GetStyle}{\void}

Returns the attributes associated with this style.

\membersection{wxRichTextStyleDefinition::Init}\label{wxrichtextstyledefinitioninit}

\func{void}{Init}{\void}

Initialises the definition.

\membersection{wxRichTextStyleDefinition::SetBaseStyle}\label{wxrichtextstyledefinitionsetbasestyle}

\func{void}{SetBaseStyle}{\param{const wxString\& }{name}}

Sets the name of the style that this style is based on.

\membersection{wxRichTextStyleDefinition::SetName}\label{wxrichtextstyledefinitionsetname}

\func{void}{SetName}{\param{const wxString\& }{name}}

Sets the name of the style.

\membersection{wxRichTextStyleDefinition::SetStyle}\label{wxrichtextstyledefinitionsetstyle}

\func{void}{SetStyle}{\param{const wxRichTextAttr\& }{style}}

Sets the attributes for this style.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?