Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > contrib > by-pkgid > af7a4b7f1ee5a4a084c41b9005da5527 > files > 1948

libfox1.1_46-devel-1.1.46-1mdk.i586.rpm

<html>
<head>
<link rel="stylesheet" href="page.css" type="text/css">
<title>fox-toolkit.org - Documentation</title>
</head>
<body bgcolor=#ffffff link=#990033 vlink=#990033 alink=#990033 text=#000000>
<font face='verdana,sans-serif' size=2 >

<!---- TOPIC TITLE WITH LOGO--->
<table border=0 cellpadding= cellspacing=2 width=100% ><tr><td><a href='http://www.fox-toolkit.org/doc.html'><img src='../art/foxlogo_small.jpg' border=0></a></td><td width=100% valign=bottom><font face='verdana,sans-serif' size=2 ><b>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a>
<br><img src='../art/line.gif' width=100% height=1></b></font></td></tr></table>
<p>
<!--- TOPIC TITLE WITH LOGO --->
<!-- Generated by Doxygen 1.3.3 -->
<h1>FX::FXMenuButton Class Reference</h1>A menu button posts a popup menu when clicked.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="FXMenuButton_8h-source.html">FXMenuButton.h</a>&gt;</code>
<p>
<p>Inheritance diagram for FX::FXMenuButton:
<p><center><img src="classFX_1_1FXMenuButton.png" usemap="#FX::FXMenuButton_map" border="0" alt=""></center>
<map name="FX::FXMenuButton_map">
<area href="classFX_1_1FXLabel.html" alt="FX::FXLabel" shape="rect" coords="0,280,154,304">
<area href="classFX_1_1FXFrame.html" alt="FX::FXFrame" shape="rect" coords="0,224,154,248">
<area href="classFX_1_1FXWindow.html" alt="FX::FXWindow" shape="rect" coords="0,168,154,192">
<area href="classFX_1_1FXDrawable.html" alt="FX::FXDrawable" shape="rect" coords="0,112,154,136">
<area href="classFX_1_1FXId.html" alt="FX::FXId" shape="rect" coords="0,56,154,80">
<area href="classFX_1_1FXObject.html" alt="FX::FXObject" shape="rect" coords="0,0,154,24">
<area href="classFX_1_1FXMDIWindowButton.html" alt="FX::FXMDIWindowButton" shape="rect" coords="0,392,154,416">
</map>
<a href="classFX_1_1FXMenuButton-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a0">FXMenuButton</a> (<a class="el" href="classFX_1_1FXComposite.html">FXComposite</a> *p, const <a class="el" href="classFX_1_1FXString.html">FXString</a> &amp;text, <a class="el" href="classFX_1_1FXIcon.html">FXIcon</a> *ic=NULL, <a class="el" href="classFX_1_1FXPopup.html">FXPopup</a> *pup=NULL, FXuint opts=JUSTIFY_NORMAL|ICON_BEFORE_TEXT|MENUBUTTON_DOWN, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a1">create</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a2">detach</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a3">getDefaultWidth</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a4">getDefaultHeight</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXbool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a5">canFocus</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a6">killFocus</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXbool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a7">contains</a> (FXint parentx, FXint parenty) const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a8">setMenu</a> (<a class="el" href="classFX_1_1FXPopup.html">FXPopup</a> *pup)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFX_1_1FXPopup.html">FXPopup</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a9">getMenu</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a10">setXOffset</a> (FXint offx)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>FXint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a11">getXOffset</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a12">setYOffset</a> (FXint offy)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>FXint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a13">getYOffset</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a14">setButtonStyle</a> (FXuint style)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>FXuint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a15">getButtonStyle</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a16">setPopupStyle</a> (FXuint style)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>FXuint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a17">getPopupStyle</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a18">setAttachment</a> (FXuint att)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>FXuint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a19">getAttachment</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a20">save</a> (<a class="el" href="classFX_1_1FXStream.html">FXStream</a> &amp;store) const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a21">load</a> (<a class="el" href="classFX_1_1FXStream.html">FXStream</a> &amp;store)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXMenuButton.html#a22">~FXMenuButton</a> ()</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A menu button posts a popup menu when clicked. 
<p>
There are many ways to control the placement where the popup will appear; first, the popup may be placed on either of the four sides relative to the menu button; this is controlled by the flags MENUBUTTON_DOWN, etc. Next, there are several attachment modes; the popup's left/bottom edge may attach to the menu button's left/top edge, or the popup's right/top edge may attach to the menu button's right/bottom edge, or both. Also, the popup may apear centered relative to the menu button. Finally, a small offset may be specified to displace the location of the popup by a few pixels so as to account for borders and so on. Normally, the menu button shows an arrow pointing to the direction where the popup is set to appear; this can be turned off by passing the option MENUBUTTON_NOARROWS.<p>
See also: <ul>
<li><a class="el" href="group__FXMenuButton__0.html">Menu button options</a>. </li>
</ul>

<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="FX::FXMenuButton::FXMenuButton"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> FX::FXMenuButton::FXMenuButton </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXComposite.html">FXComposite</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>p</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classFX_1_1FXString.html">FXString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>text</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classFX_1_1FXIcon.html">FXIcon</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>ic</em> = NULL, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classFX_1_1FXPopup.html">FXPopup</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>pup</em> = NULL, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXuint&nbsp;</td>
          <td class="mdname" nowrap> <em>opts</em> = JUSTIFY_NORMAL|ICON_BEFORE_TEXT|MENUBUTTON_DOWN, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>x</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>y</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>w</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>h</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pl</em> = DEFAULT_PAD, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pr</em> = DEFAULT_PAD, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pt</em> = DEFAULT_PAD, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pb</em> = DEFAULT_PAD</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor. 
<p>
    </td>
  </tr>
</table>
<a name="a22" doxytag="FX::FXMenuButton::~FXMenuButton"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual FX::FXMenuButton::~<a class="el" href="classFX_1_1FXMenuButton.html">FXMenuButton</a> </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Destructor. 
<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="FX::FXMenuButton::create"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void FX::FXMenuButton::create </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create server-side resources. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXLabel.html#a1">FX::FXLabel</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="FX::FXMenuButton::detach"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void FX::FXMenuButton::detach </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Detach server-side resources. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXLabel.html#a2">FX::FXLabel</a>.    </td>
  </tr>
</table>
<a name="a3" doxytag="FX::FXMenuButton::getDefaultWidth"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual FXint FX::FXMenuButton::getDefaultWidth </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return default width. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXLabel.html#a5">FX::FXLabel</a>.
<p>
Reimplemented in <a class="el" href="classFX_1_1FXMDIWindowButton.html#a1">FX::FXMDIWindowButton</a>.    </td>
  </tr>
</table>
<a name="a4" doxytag="FX::FXMenuButton::getDefaultHeight"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual FXint FX::FXMenuButton::getDefaultHeight </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return default height. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXLabel.html#a6">FX::FXLabel</a>.
<p>
Reimplemented in <a class="el" href="classFX_1_1FXMDIWindowButton.html#a2">FX::FXMDIWindowButton</a>.    </td>
  </tr>
</table>
<a name="a5" doxytag="FX::FXMenuButton::canFocus"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual FXbool FX::FXMenuButton::canFocus </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true because a menu button can receive focus. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXWindow.html#a50">FX::FXWindow</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="FX::FXMenuButton::killFocus"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void FX::FXMenuButton::killFocus </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Remove the focus from this window. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXWindow.html#a53">FX::FXWindow</a>.    </td>
  </tr>
</table>
<a name="a7" doxytag="FX::FXMenuButton::contains"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual FXbool FX::FXMenuButton::contains </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>parentx</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>parenty</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return true if window logically contains the given point. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXWindow.html#a112">FX::FXWindow</a>.    </td>
  </tr>
</table>
<a name="a8" doxytag="FX::FXMenuButton::setMenu"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void FX::FXMenuButton::setMenu </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXPopup.html">FXPopup</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pup</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Change the popup menu. 
<p>
    </td>
  </tr>
</table>
<a name="a9" doxytag="FX::FXMenuButton::getMenu"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classFX_1_1FXPopup.html">FXPopup</a>* FX::FXMenuButton::getMenu </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return current popup menu. 
<p>
    </td>
  </tr>
</table>
<a name="a10" doxytag="FX::FXMenuButton::setXOffset"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void FX::FXMenuButton::setXOffset </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXint&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>offx</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set X offset where menu pops up relative to button. 
<p>
    </td>
  </tr>
</table>
<a name="a11" doxytag="FX::FXMenuButton::getXOffset"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> FXint FX::FXMenuButton::getXOffset </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return current X offset. 
<p>
    </td>
  </tr>
</table>
<a name="a12" doxytag="FX::FXMenuButton::setYOffset"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void FX::FXMenuButton::setYOffset </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXint&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>offy</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set Y offset where menu pops up relative to button. 
<p>
    </td>
  </tr>
</table>
<a name="a13" doxytag="FX::FXMenuButton::getYOffset"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> FXint FX::FXMenuButton::getYOffset </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return current Y offset. 
<p>
    </td>
  </tr>
</table>
<a name="a14" doxytag="FX::FXMenuButton::setButtonStyle"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void FX::FXMenuButton::setButtonStyle </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXuint&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>style</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Change menu button style. 
<p>
    </td>
  </tr>
</table>
<a name="a15" doxytag="FX::FXMenuButton::getButtonStyle"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> FXuint FX::FXMenuButton::getButtonStyle </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get menu button style. 
<p>
    </td>
  </tr>
</table>
<a name="a16" doxytag="FX::FXMenuButton::setPopupStyle"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void FX::FXMenuButton::setPopupStyle </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXuint&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>style</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Change popup style. 
<p>
    </td>
  </tr>
</table>
<a name="a17" doxytag="FX::FXMenuButton::getPopupStyle"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> FXuint FX::FXMenuButton::getPopupStyle </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get popup style. 
<p>
    </td>
  </tr>
</table>
<a name="a18" doxytag="FX::FXMenuButton::setAttachment"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void FX::FXMenuButton::setAttachment </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXuint&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>att</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Change attachment. 
<p>
    </td>
  </tr>
</table>
<a name="a19" doxytag="FX::FXMenuButton::getAttachment"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> FXuint FX::FXMenuButton::getAttachment </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get attachment. 
<p>
    </td>
  </tr>
</table>
<a name="a20" doxytag="FX::FXMenuButton::save"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void FX::FXMenuButton::save </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXStream.html">FXStream</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>store</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Save menu button to a stream. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXLabel.html#a23">FX::FXLabel</a>.    </td>
  </tr>
</table>
<a name="a21" doxytag="FX::FXMenuButton::load"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void FX::FXMenuButton::load </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXStream.html">FXStream</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>store</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Load menu button from a stream. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXLabel.html#a24">FX::FXLabel</a>.    </td>
  </tr>
</table>
</font>

<!--- COPYRIGHT -->
<p>
<table width=100% cellpadding=0 cellspacing=0><tr><td width=100% valign=top id=HEADLINE align=right>
<img src='../art/line.gif' width=100% height=1><font size=-1>
Copyright &copy; 1997-2004 Jeroen van der Zijp</font>
</td></tr></table>
</p>
<!--- COPYRIGHT -->
</body>
</html>