ARSperl

 view release on metacpan or  search on metacpan

html/manual/ars_SetCharMenu.html  view on Meta::CPAN

<HTML>
<HEAD>
<TITLE>ARSperl Programmer's Manual - ars_SetCharMenu</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">

   <H2><CODE>ars_SetCharMenu(ctrl, name, menuHash)</CODE></H2>

      This function modifies an existing menu. You must first
      populate the <CODE>menuHash</CODE> before calling this routine.

      <P>
      <DL>
          <DT><B>On success</B><DD>
              Returns 1
          <DT><B>On failure</B><DD>
              Returns 0
      </DL>

      <P>Example:

      <P><BLOCKQUOTE>
      <I> This example changes the name and the refresh code of the menu "TEST:CharMenu".
      </I></BLOCKQUOTE>

      <PRE>
      ars_SetCharMenu( $c, "TEST:CharMenu, {
        name        => "TEST:CharMenu2",
        refreshCode => "open",
      } ) || die $ars_errstr;
      </PRE>

<P>
<I>This function was introduced in version 1.90 of ARSperl</I>
<P>

<A HREF="toc.html"><IMG ALT="&lt;--" SRC="arrow.gif" ALIGN=CENTER> Back to Table of Contents </A>
</BODY>
</HTML>



( run in 0.459 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )