<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css">
<title>
Gambas Documentation - Stock[]
</title>
</head>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../../help+en"><img class="flag" alt="Home" border="0" src="../../../../img/lang/en.png" align="center"></a>&nbsp;
<a href="../stock+en">Up</a>&nbsp;
<a href="../stock+en">Previous</a>&nbsp;
<a href="../trayicon+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
Stock[]
</h1>
<div class="black"><font size="-2"><b>Syntax</b></font></div>
<pre class="syntax"></pre>
Returns an icon from the stock.
<p>
The format of <u>Key</u> is <tt>&quot;<u>Size</u>/<u>Name</u>&quot;</tt>, where:
<ul>
<li><tt><u>Size</u></tt> is the size of the icon.
<li><tt><u>Name</u></tt> is the name of the icon.
<p>
</ul>

Use the <i>/comp/gb.gtk/stock/list</i> property to get a list of all possible names.
<p>
This method is called by the <a href="../picture+en">Picture</a> class array accessor when it gets an icon path beginning with <tt>&quot;icon:/&quot;</tt>.

</div>
</body>
</html>

