Files
FTXUI/structftxui_1_1MenuEntryOption.html
2025-05-29 07:37:37 +00:00

226 lines
13 KiB
HTML

<!-- HTML header for doxygen 1.9.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FTXUI: MenuEntryOption Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="doxygen-awesome-fragment-copy-button.js"></script>
<script type="text/javascript" src="doxygen-awesome-paragraph-link.js"></script>
<script type="text/javascript" src="doxygen-awesome-interactive-toc.js"></script>
<script type="text/javascript" src="doxygen-awesome-tabs.js"></script>
<script type="text/javascript">
DoxygenAwesomeFragmentCopyButton.init()
DoxygenAwesomeParagraphLink.init()
DoxygenAwesomeInteractiveToc.init()
DoxygenAwesomeTabs.init()
</script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">FTXUI<span id="projectnumber">&#160;6.1.9</span>
</div>
<div id="projectbrief">C++ functional terminal UI.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('structftxui_1_1MenuEntryOption.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle"><div class="title">MenuEntryOption Struct Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Option for the MenuEntry component.
<a href="#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="component__options_8hpp_source.html">component_options.hpp</a>&gt;</code></p>
<div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Collaboration diagram for MenuEntryOption:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="structftxui_1_1MenuEntryOption__coll__graph.png" border="0" usemap="#aMenuEntryOption_coll__map" alt="Collaboration graph"/></div>
<map name="aMenuEntryOption_coll__map" id="aMenuEntryOption_coll__map">
<area shape="rect" title="Option for the MenuEntry component." alt="" coords="121,299,255,324"/>
<area shape="rect" href="classftxui_1_1ConstStringRef.html" title="An adapter. Own or reference a constant string. For convenience, this class convert multiple immutabl..." alt="" coords="46,211,165,236"/>
<area shape="poly" title=" " alt="" coords="128,244,178,296,175,300,124,248"/>
<area shape="rect" href="classftxui_1_1ConstRef.html" title=" " alt="" coords="5,108,181,133"/>
<area shape="poly" title=" " alt="" coords="99,147,107,210,101,211,94,148"/>
<area shape="rect" href="structftxui_1_1AnimatedColorsOption.html" title=" " alt="" coords="195,211,365,236"/>
<area shape="poly" title=" " alt="" coords="259,248,203,300,199,296,256,244"/>
<area shape="rect" href="structftxui_1_1AnimatedColorOption.html" title="Option about a potentially animated color." alt="" coords="205,108,368,133"/>
<area shape="poly" title=" " alt="" coords="288,147,283,211,278,210,282,147"/>
<area shape="rect" href="classftxui_1_1Color.html" title="A class representing terminal colors." alt="" coords="259,5,315,31"/>
<area shape="poly" title=" " alt="" coords="289,45,289,108,284,108,284,45"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a336758144ce2b1095f2a0ef062551f5b" id="r_a336758144ce2b1095f2a0ef062551f5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classftxui_1_1ConstStringRef.html">ConstStringRef</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a336758144ce2b1095f2a0ef062551f5b">label</a> = &quot;MenuEntry&quot;</td></tr>
<tr class="separator:a336758144ce2b1095f2a0ef062551f5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5641c45021a8cc20bdd21498563825a0" id="r_a5641c45021a8cc20bdd21498563825a0"><td class="memItemLeft" align="right" valign="top">std::function&lt; <a class="el" href="namespaceftxui.html#a2bc31f2d685189e5c61d2293a1f51b4f">Element</a>(const <a class="el" href="structftxui_1_1EntryState.html">EntryState</a> &amp;state)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5641c45021a8cc20bdd21498563825a0">transform</a></td></tr>
<tr class="separator:a5641c45021a8cc20bdd21498563825a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7131557fbe84a6b4b2f2ffcff7d44f0" id="r_ab7131557fbe84a6b4b2f2ffcff7d44f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structftxui_1_1AnimatedColorsOption.html">AnimatedColorsOption</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab7131557fbe84a6b4b2f2ffcff7d44f0">animated_colors</a></td></tr>
<tr class="separator:ab7131557fbe84a6b4b2f2ffcff7d44f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Option for the MenuEntry component. </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="examples_2component_2menu2_8cpp-example.html#_a0">examples/component/menu2.cpp</a>, <a class="el" href="examples_2component_2menu_entries_8cpp-example.html#_a0">examples/component/menu_entries.cpp</a>, and <a class="el" href="examples_2component_2menu_entries_animated_8cpp-example.html#_a1">examples/component/menu_entries_animated.cpp</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="component__options_8hpp_source.html#l00076">76</a> of file <a class="el" href="component__options_8hpp_source.html">component_options.hpp</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a336758144ce2b1095f2a0ef062551f5b" name="a336758144ce2b1095f2a0ef062551f5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a336758144ce2b1095f2a0ef062551f5b">&#9670;&#160;</a></span>label</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classftxui_1_1ConstStringRef.html">ConstStringRef</a> label = &quot;MenuEntry&quot;</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="component__options_8hpp_source.html#l00077">77</a> of file <a class="el" href="component__options_8hpp_source.html">component_options.hpp</a>.</p>
</div>
</div>
<a id="a5641c45021a8cc20bdd21498563825a0" name="a5641c45021a8cc20bdd21498563825a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5641c45021a8cc20bdd21498563825a0">&#9670;&#160;</a></span>transform</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::function&lt;<a class="el" href="namespaceftxui.html#a2bc31f2d685189e5c61d2293a1f51b4f">Element</a>(const <a class="el" href="structftxui_1_1EntryState.html">EntryState</a>&amp; state)&gt; transform</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="examples_2component_2menu2_8cpp-example.html#a3">examples/component/menu2.cpp</a>, and <a class="el" href="examples_2component_2menu_entries_8cpp-example.html#a10">examples/component/menu_entries.cpp</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="component__options_8hpp_source.html#l00078">78</a> of file <a class="el" href="component__options_8hpp_source.html">component_options.hpp</a>.</p>
</div>
</div>
<a id="ab7131557fbe84a6b4b2f2ffcff7d44f0" name="ab7131557fbe84a6b4b2f2ffcff7d44f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7131557fbe84a6b4b2f2ffcff7d44f0">&#9670;&#160;</a></span>animated_colors</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structftxui_1_1AnimatedColorsOption.html">AnimatedColorsOption</a> animated_colors</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="examples_2component_2menu_entries_8cpp-example.html#a3">examples/component/menu_entries.cpp</a>, and <a class="el" href="examples_2component_2menu_entries_animated_8cpp-example.html#a4">examples/component/menu_entries_animated.cpp</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="component__options_8hpp_source.html#l00079">79</a> of file <a class="el" href="component__options_8hpp_source.html">component_options.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="component__options_8hpp_source.html">component_options.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.8-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceftxui.html">ftxui</a></li><li class="navelem"><a class="el" href="structftxui_1_1MenuEntryOption.html">MenuEntryOption</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
</ul>
</div>
</body>
</html>