mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Mouse support for ListViews; ProgressBar; Fix MainLoop's timers
This commit is contained in:
@@ -125,6 +125,9 @@
|
||||
</section>
|
||||
<h4><a class="xref" href="Terminal.Gui/Terminal.Gui.MessageBox.html">MessageBox</a></h4>
|
||||
<section><p>Message box displays a modal message to the user, with a title, a message and a series of options that the user can choose from.</p>
|
||||
</section>
|
||||
<h4><a class="xref" href="Terminal.Gui/Terminal.Gui.ProgressBar.html">ProgressBar</a></h4>
|
||||
<section><p>Progress bar can indicate progress of an activity visually.</p>
|
||||
</section>
|
||||
<h4><a class="xref" href="Terminal.Gui/Terminal.Gui.RadioGroup.html">RadioGroup</a></h4>
|
||||
<section><p>Radio group shows a group of labels, only one of those can be selected at a given time</p>
|
||||
|
||||
@@ -92,11 +92,12 @@
|
||||
|
||||
<a id="Terminal_Gui_Attribute__ctor_" data-uid="Terminal.Gui.Attribute.#ctor*"></a>
|
||||
<h4 id="Terminal_Gui_Attribute__ctor_System_Int32_" data-uid="Terminal.Gui.Attribute.#ctor(System.Int32)">Attribute(Int32)</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a> struct.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Attribute (int v);</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public Attribute (int value);</code></pre>
|
||||
</div>
|
||||
<h5 class="parameters">Parameters</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
|
||||
@@ -87,9 +87,6 @@
|
||||
<div>
|
||||
<a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_CanFocus">Responder.CanFocus</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
|
||||
</div>
|
||||
@@ -183,9 +180,6 @@
|
||||
<div>
|
||||
<a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
|
||||
</div>
|
||||
@@ -418,13 +412,13 @@
|
||||
</h3>
|
||||
|
||||
|
||||
<a id="Terminal_Gui_ListView_ProcessKey_" data-uid="Terminal.Gui.ListView.ProcessKey*"></a>
|
||||
<h4 id="Terminal_Gui_ListView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ListView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
|
||||
<a id="Terminal_Gui_ListView_MouseEvent_" data-uid="Terminal.Gui.ListView.MouseEvent*"></a>
|
||||
<h4 id="Terminal_Gui_ListView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.ListView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public override bool ProcessKey (Terminal.Gui.KeyEvent kb);</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public override bool MouseEvent (Terminal.Gui.MouseEvent me);</code></pre>
|
||||
</div>
|
||||
<h5 class="parameters">Parameters</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
@@ -437,8 +431,8 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
|
||||
<td><span class="parametername">kb</span></td>
|
||||
<td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
|
||||
<td><span class="parametername">me</span></td>
|
||||
<td><p>To be added.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -462,9 +456,66 @@
|
||||
</table>
|
||||
|
||||
|
||||
<a id="Terminal_Gui_ListView_PositionCursor_" data-uid="Terminal.Gui.ListView.PositionCursor*"></a>
|
||||
<h4 id="Terminal_Gui_ListView_PositionCursor" data-uid="Terminal.Gui.ListView.PositionCursor">PositionCursor()</h4>
|
||||
<div class="markdown level1 summary"><p>Positions the cursor in this view</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public override void PositionCursor ();</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
<a id="Terminal_Gui_ListView_ProcessKey_" data-uid="Terminal.Gui.ListView.ProcessKey*"></a>
|
||||
<h4 id="Terminal_Gui_ListView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.ListView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
|
||||
<div class="markdown level1 summary"><p>Handles cursor movement for this view, passes all other events.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public override bool ProcessKey (Terminal.Gui.KeyEvent kb);</code></pre>
|
||||
</div>
|
||||
<h5 class="parameters">Parameters</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
|
||||
<td><span class="parametername">kb</span></td>
|
||||
<td><p>Keyboard event.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h5 class="returns">Returns</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Boolean</span></td>
|
||||
<td><p><code>true</code>, if key was processed, <code>false</code> otherwise.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<a id="Terminal_Gui_ListView_Redraw_" data-uid="Terminal.Gui.ListView.Redraw*"></a>
|
||||
<h4 id="Terminal_Gui_ListView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.ListView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Redraws the ListView</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -483,7 +534,7 @@
|
||||
<tr>
|
||||
<td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
|
||||
<td><span class="parametername">region</span></td>
|
||||
<td><p>To be added.</p>
|
||||
<td><p>Region.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@@ -158,7 +158,8 @@
|
||||
|
||||
<a id="Terminal_Gui_Responder_MouseEvent_" data-uid="Terminal.Gui.Responder.MouseEvent*"></a>
|
||||
<h4 id="Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.Responder.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Method invoked when a mouse event is generated</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -177,7 +178,7 @@
|
||||
<tr>
|
||||
<td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
|
||||
<td><span class="parametername">me</span></td>
|
||||
<td><p>To be added.</p>
|
||||
<td><p>Me.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -193,7 +194,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Boolean</span></td>
|
||||
<td><p>To be added.</p>
|
||||
<td><p><code>true</code>, if the event was handled, <code>false</code> otherwise.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
<div class="level3"><a class="xref" href="Terminal.Gui.Label.html">Label</a></div>
|
||||
<div class="level3"><a class="xref" href="Terminal.Gui.ListView.html">ListView</a></div>
|
||||
<div class="level3"><a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a></div>
|
||||
<div class="level3"><a class="xref" href="Terminal.Gui.ProgressBar.html">ProgressBar</a></div>
|
||||
<div class="level3"><a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a></div>
|
||||
<div class="level3"><a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a></div>
|
||||
<div class="level3"><a class="xref" href="Terminal.Gui.ScrollView.html">ScrollView</a></div>
|
||||
|
||||
@@ -160,6 +160,9 @@
|
||||
<li>
|
||||
<a href="Terminal.Gui/Terminal.Gui.Point.html" name="" title="Point">Point</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="Terminal.Gui/Terminal.Gui.ProgressBar.html" name="" title="ProgressBar">ProgressBar</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="Terminal.Gui/Terminal.Gui.RadioGroup.html" name="" title="RadioGroup">RadioGroup</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user