Contents Up Previous Next 原文へのリンク

wxControl

コントロール即ち“ウィジット”のベースクラスである。

コントロールは大抵はユーザーの入力を処理し、さらに/或いは、一つ以上のデータ項目を 表示する。

This is the base class for a control or 'widget'.

A control is generally a small window which processes user input and/or displays one or more item of data.

Derived from

wxWindow
wxEvtHandler
wxObject

Include files

<wx/control.h>

See also

wxValidator

Members

wxControl::Command
wxControl::GetLabel
wxControl::SetLabel


wxControl::Command

void Command(wxCommandEvent& event)

ユーザの発行したコマンドのアイテムへの効果をシミュレートする。 wxCommandEvent 参照。

Simulates the effect of the user issuing a command to the item. See wxCommandEvent.


wxControl::GetLabel

wxString& GetLabel()

コントロールのテキストを返す。

Returns the control's text.


wxControl::SetLabel

void SetLabel(const wxString& label)

アイテムのテキストをセットする。

Sets the item's text.