campo-sirio/libraries/wxPG/propgrid/docs/html/classwxPGChoiceEditor.htm
mtollari 4db94043cb Patch level : 12.0 no-patch
Files correlati     : 
Commento            : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione

git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
2017-10-26 09:11:15 +00:00

295 lines
15 KiB
HTML

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>wxPropertyGrid: wxPGChoiceEditor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.htm"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.htm"><span>Related&nbsp;Pages</span></a></li>
<li><a href="modules.htm"><span>Modules</span></a></li>
<li class="current"><a href="annotated.htm"><span>Classes</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<img id="MSearchSelect" src="search/search.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</div>
</li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.htm"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.htm"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.htm"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.htm"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>wxPGChoiceEditor Class Reference</h1><!-- doxytag: class="wxPGChoiceEditor" --><!-- doxytag: inherits="wxPGEditor" --><div class="dynheader">
Inheritance diagram for wxPGChoiceEditor:</div>
<div class="dynsection">
<div class="center">
<img src="classwxPGChoiceEditor.png" usemap="#wxPGChoiceEditor_map" alt=""/>
<map id="wxPGChoiceEditor_map" name="wxPGChoiceEditor_map">
<area href="classwxPGEditor.htm" alt="wxPGEditor" shape="rect" coords="92,0,267,24"/>
<area href="classwxPGChoiceAndButtonEditor.htm" alt="wxPGChoiceAndButtonEditor" shape="rect" coords="0,112,175,136"/>
<area href="classwxPGComboBoxEditor.htm" alt="wxPGComboBoxEditor" shape="rect" coords="185,112,360,136"/>
</map>
</div>
</div>
<p><a href="classwxPGChoiceEditor-members.htm">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwxPGChoiceEditor.htm#a3923cb234de120441cc27ff4d410aa95">CanContainCustomImage</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if control itself can contain the custom image. <a href="#a3923cb234de120441cc27ff4d410aa95"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0640aceb4af15bf12595aaeb7ef1c999"></a><!-- doxytag: member="wxPGChoiceEditor::CreateControlsBase" ref="a0640aceb4af15bf12595aaeb7ef1c999" args="(wxPropertyGrid *propgrid, wxPGProperty *property, const wxPoint &amp;pos, const wxSize &amp;sz, long extraStyle) const " -->
wxWindow *&nbsp;</td><td class="memItemRight" valign="bottom"><b>CreateControlsBase</b> (<a class="el" href="classwxPropertyGrid.htm">wxPropertyGrid</a> *propgrid, <a class="el" href="classwxPGProperty.htm">wxPGProperty</a> *property, const wxPoint &amp;pos, const wxSize &amp;sz, long extraStyle) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwxPGChoiceEditor.htm#a5a2888446bed7d2029779bddd08c7bc1">DeleteItem</a> (wxWindow *ctrl, int index) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes item from existing control. <a href="#a5a2888446bed7d2029779bddd08c7bc1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual wxPG_CONST_WXCHAR_PTR&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwxPGChoiceEditor.htm#a3689631b501299037e089f99cb9b5b78">GetName</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns pointer to the name of the editor. <a href="#a3689631b501299037e089f99cb9b5b78"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwxPGChoiceEditor.htm#ae4f15eeddd2c9e9ae4cfe767bb0c2c31">InsertItem</a> (wxWindow *ctrl, const wxString &amp;label, int index) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inserts item to existing control. <a href="#ae4f15eeddd2c9e9ae4cfe767bb0c2c31"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwxPGChoiceEditor.htm#a90dfadf653aa43eb28688582d302b044">SetControlIntValue</a> (<a class="el" href="classwxPGProperty.htm">wxPGProperty</a> *property, wxWindow *ctrl, int value) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets control's value specifically from int (applies to choice etc. <a href="#a90dfadf653aa43eb28688582d302b044"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwxPGChoiceEditor.htm#a4ad9cce1b4004860f5458811f4f1ec3d">SetControlStringValue</a> (<a class="el" href="classwxPGProperty.htm">wxPGProperty</a> *property, wxWindow *ctrl, const wxString &amp;txt) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets control's value specifically from string. <a href="#a4ad9cce1b4004860f5458811f4f1ec3d"></a><br/></td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3923cb234de120441cc27ff4d410aa95"></a><!-- doxytag: member="wxPGChoiceEditor::CanContainCustomImage" ref="a3923cb234de120441cc27ff4d410aa95" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool wxPGChoiceEditor::CanContainCustomImage </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if control itself can contain the custom image. </p>
<p>Default is to return false. </p>
<p>Reimplemented from <a class="el" href="classwxPGEditor.htm#abd6bbee08a30f42d55b386cd5d400946">wxPGEditor</a>.</p>
</div>
</div>
<a class="anchor" id="a5a2888446bed7d2029779bddd08c7bc1"></a><!-- doxytag: member="wxPGChoiceEditor::DeleteItem" ref="a5a2888446bed7d2029779bddd08c7bc1" args="(wxWindow *ctrl, int index) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void wxPGChoiceEditor::DeleteItem </td>
<td>(</td>
<td class="paramtype">wxWindow *&nbsp;</td>
<td class="paramname"> <em>ctrl</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>index</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Deletes item from existing control. </p>
<p>Default implementation does nothing. </p>
<p>Reimplemented from <a class="el" href="classwxPGEditor.htm#afc7056e3e42a7deba94e13b519fdbc7c">wxPGEditor</a>.</p>
</div>
</div>
<a class="anchor" id="a3689631b501299037e089f99cb9b5b78"></a><!-- doxytag: member="wxPGChoiceEditor::GetName" ref="a3689631b501299037e089f99cb9b5b78" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual wxPG_CONST_WXCHAR_PTR wxPGChoiceEditor::GetName </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns pointer to the name of the editor. </p>
<p>For example, wxPG_EDITOR(TextCtrl) has name "TextCtrl". This method is autogenerated for custom editors. </p>
<p>Implements <a class="el" href="classwxPGEditor.htm#afa649c297f922540215fcaf097c2d7fb">wxPGEditor</a>.</p>
<p>Reimplemented in <a class="el" href="classwxPGComboBoxEditor.htm#a606e5218f8014287f33f24b239ccc72d">wxPGComboBoxEditor</a>, and <a class="el" href="classwxPGChoiceAndButtonEditor.htm#aea7555b65f78ffddc5186bd5e153ed5d">wxPGChoiceAndButtonEditor</a>.</p>
</div>
</div>
<a class="anchor" id="ae4f15eeddd2c9e9ae4cfe767bb0c2c31"></a><!-- doxytag: member="wxPGChoiceEditor::InsertItem" ref="ae4f15eeddd2c9e9ae4cfe767bb0c2c31" args="(wxWindow *ctrl, const wxString &amp;label, int index) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int wxPGChoiceEditor::InsertItem </td>
<td>(</td>
<td class="paramtype">wxWindow *&nbsp;</td>
<td class="paramname"> <em>ctrl</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wxString &amp;&nbsp;</td>
<td class="paramname"> <em>label</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>index</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Inserts item to existing control. </p>
<p>Index -1 means appending. Default implementation does nothing. Returns index of item added. </p>
<p>Reimplemented from <a class="el" href="classwxPGEditor.htm#a97de228636ce4e4b3f8d00593c65fe26">wxPGEditor</a>.</p>
</div>
</div>
<a class="anchor" id="a90dfadf653aa43eb28688582d302b044"></a><!-- doxytag: member="wxPGChoiceEditor::SetControlIntValue" ref="a90dfadf653aa43eb28688582d302b044" args="(wxPGProperty *property, wxWindow *ctrl, int value) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void wxPGChoiceEditor::SetControlIntValue </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwxPGProperty.htm">wxPGProperty</a> *&nbsp;</td>
<td class="paramname"> <em>property</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">wxWindow *&nbsp;</td>
<td class="paramname"> <em>ctrl</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets control's value specifically from int (applies to choice etc. </p>
<p>). </p>
<p>Reimplemented from <a class="el" href="classwxPGEditor.htm#ad9667eb541f25f1d667de8cb937d24af">wxPGEditor</a>.</p>
</div>
</div>
<a class="anchor" id="a4ad9cce1b4004860f5458811f4f1ec3d"></a><!-- doxytag: member="wxPGChoiceEditor::SetControlStringValue" ref="a4ad9cce1b4004860f5458811f4f1ec3d" args="(wxPGProperty *property, wxWindow *ctrl, const wxString &amp;txt) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void wxPGChoiceEditor::SetControlStringValue </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwxPGProperty.htm">wxPGProperty</a> *&nbsp;</td>
<td class="paramname"> <em>property</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">wxWindow *&nbsp;</td>
<td class="paramname"> <em>ctrl</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const wxString &amp;&nbsp;</td>
<td class="paramname"> <em>txt</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets control's value specifically from string. </p>
<p>Reimplemented from <a class="el" href="classwxPGEditor.htm#a5fefad75f7890ac414f365d0b949a7a6">wxPGEditor</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>editors.h</li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Enumerator</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sun Aug 22 12:42:14 2010 for wxPropertyGrid by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>