File: wx56.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (50 lines) | stat: -rw-r--r-- 1,850 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<HTML>
<head><title>wxControl</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="wxcontrol"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx55.htm#wxconfigbase"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx57.htm#wxcriticalsection"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxControl</H2>
<P>
This is the base class for a control or 'widget'.<P>
A control is generally a small window which processes user input and/or displays one or more item
of data.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx260.htm#wxwindow">wxWindow</A><BR>

<A HREF="wx85.htm#wxevthandler">wxEvtHandler</A><BR>

<A HREF="wx158.htm#wxobject">wxObject</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
&lt;wx/control.h&gt;<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx255.htm#wxvalidator">wxValidator</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#wxcontrolcommand">wxControl::Command</A><BR>
<A HREF="#wxcontrolgetlabel">wxControl::GetLabel</A><BR>
<A HREF="#wxcontrolsetlabel">wxControl::SetLabel</A><BR>
<P>

<HR>
<A NAME="wxcontrolcommand"></A>
<H3>wxControl::Command</H3>
<P>
<B>void</B> <B>Command</B>(<B>wxCommandEvent&amp; </B><I>event</I>)<P>
Simulates the effect of the user issuing a command to the item. See <A HREF="wx52.htm#wxcommandevent">wxCommandEvent</A>.<P>

<HR>
<A NAME="wxcontrolgetlabel"></A>
<H3>wxControl::GetLabel</H3>
<P>
<B>wxString&amp;</B> <B>GetLabel</B>()<P>
Returns the control's text.<P>

<HR>
<A NAME="wxcontrolsetlabel"></A>
<H3>wxControl::SetLabel</H3>
<P>
<B>void</B> <B>SetLabel</B>(<B>const wxString&amp; </B><I>label</I>)<P>
Sets the item's text.<P>

</BODY></HTML>