Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 76909b5763edb96a2bc7bd7fb5b301b8 > files > 28

cuiterm-0.9.9-1mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE>CuiModeMenu</TITLE><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Cuiterm Reference Manual" HREF="index.html"><LINK REL="UP" TITLE="Cuiterm Documentation 0.5" HREF="c4.html"><LINK REL="PREVIOUS" TITLE="CuiFileMenu" HREF="cuifilemenu.html"><LINK REL="NEXT" TITLE="CuiUserMenu" HREF="cuiusermenu.html"><META NAME="GENERATOR" CONTENT="GTK-Doc V1.3 (SGML mode)"><STYLE TYPE="text/css">.synopsis, .classsynopsis {
    background: #eeeeee;
    border: solid 1px #aaaaaa;
    padding: 0.5em;
}
.programlisting {
    background: #eeeeff;
    border: solid 1px #aaaaff;
    padding: 0.5em;
}
.variablelist {
    padding: 4px;
    margin-left: 3em;
}
.navigation {
    background: #ffeeee;
    border: solid 1px #ffaaaa;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.navigation a {
    color: #770000;
}
.navigation a:visited {
    color: #550000;
}
.navigation .title {
    font-size: 200%;
}</STYLE></HEAD><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF"><TABLE WIDTH="100%" CLASS="navigation" SUMMARY="Navigation header" CELLPADDING="2" CELLSPACING="2"><TR VALIGN="middle"><TD><A ACCESSKEY="p" HREF="cuifilemenu.html"><IMG SRC="left.png" WIDTH="24" HEIGHT="24" BORDER="0" ALT="Prev"></A></TD><TD><A ACCESSKEY="u" HREF="c4.html"><IMG SRC="up.png" WIDTH="24" HEIGHT="24" BORDER="0" ALT="Up"></A></TD><TD><A ACCESSKEY="h" HREF="index.html"><IMG SRC="home.png" WIDTH="24" HEIGHT="24" BORDER="0" ALT="Home"></A></TD><TH WIDTH="100%" align="center">Cuiterm Reference Manual</TH><TD><A ACCESSKEY="n" HREF="cuiusermenu.html"><IMG SRC="right.png" WIDTH="24" HEIGHT="24" BORDER="0" ALT="Next"></A></TD></TR></TABLE><H1><A NAME="CUIMODEMENU"></A>CuiModeMenu</H1><DIV CLASS="REFNAMEDIV"><A NAME="AEN5554"></A><H2>Name</H2>CuiModeMenu&nbsp;--&nbsp;</DIV><DIV CLASS="REFSYNOPSISDIV"><A NAME="AEN5557"></A><H2>Synopsis</H2><PRE CLASS="SYNOPSIS">&#13;#include &lt;history.h&gt;


            <A HREF="cuimodemenu.html#CUIMODEMENU-STRUCT">CuiModeMenu</A>;
<A HREF="cuiwidget.html">CuiWidget</A>*  <A HREF="cuimodemenu.html#CUI-MODE-MENU-NEW">cui_mode_menu_new</A>               (void);
void        <A HREF="cuimodemenu.html#CUI-MODE-MENU-SET-FILENAME">cui_mode_menu_set_filename</A>      (<A HREF="cuimodemenu.html">CuiModeMenu</A> *mode_menu,
                                             <A HREF="cuifilename.html">CuiFilename</A> *filename);
void        <A HREF="cuimodemenu.html#CUI-MODE-MENU-POPUP">cui_mode_menu_popup</A>             (<A HREF="cuimodemenu.html">CuiModeMenu</A> *cui_mode_menu,
                                             GtkWidget *parent_widget,
                                             GdkEventButton *event);</PRE></DIV><DIV CLASS="REFSECT1"><A NAME="AEN5572"></A><H2>Object Hierarchy</H2><PRE CLASS="SYNOPSIS">&#13;  GObject
   +----<A HREF="cuiwidget.html">CuiWidget</A>
         +----<A HREF="cuipopupmenu.html">CuiPopupMenu</A>
               +----CuiModeMenu</PRE></DIV><DIV CLASS="REFSECT1"><A NAME="AEN5578"></A><H2>Properties</H2><PRE CLASS="SYNOPSIS">&#13;  &quot;<A HREF="cuimodemenu.html#CUIMODEMENU--FILENAME">filename</A>&quot;             gpointer              : Read / Write</PRE></DIV><DIV CLASS="REFSECT1"><A NAME="AEN5583"></A><H2>Description</H2><P></P></DIV><DIV CLASS="REFSECT1"><A NAME="AEN5586"></A><H2>Details</H2><DIV CLASS="REFSECT2"><A NAME="AEN5588"></A><H3><A NAME="CUIMODEMENU-STRUCT"></A>CuiModeMenu</H3><PRE CLASS="PROGRAMLISTING">typedef struct _CuiModeMenu CuiModeMenu;</PRE><P></P></DIV><HR><DIV CLASS="REFSECT2"><A NAME="AEN5595"></A><H3><A NAME="CUI-MODE-MENU-NEW"></A>cui_mode_menu_new ()</H3><PRE CLASS="PROGRAMLISTING"><A HREF="cuiwidget.html">CuiWidget</A>*  cui_mode_menu_new               (void);</PRE><P></P><P></P><TABLE CLASS="variablelist" BORDER="0" CELLSPACING="0" CELLPADDING="4"><TBODY><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5604"><SPAN STYLE="white-space: nowrap"><SPAN CLASS="emphasis"><I CLASS="EMPHASIS">Returns</I></SPAN>&nbsp;:</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P>&#13;</P></TD></TR></TBODY></TABLE></DIV><HR><DIV CLASS="REFSECT2"><A NAME="AEN5609"></A><H3><A NAME="CUI-MODE-MENU-SET-FILENAME"></A>cui_mode_menu_set_filename ()</H3><PRE CLASS="PROGRAMLISTING">void        cui_mode_menu_set_filename      (<A HREF="cuimodemenu.html">CuiModeMenu</A> *mode_menu,
                                             <A HREF="cuifilename.html">CuiFilename</A> *filename);</PRE><P></P><P></P><TABLE CLASS="variablelist" BORDER="0" CELLSPACING="0" CELLPADDING="4"><TBODY><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5620"><SPAN STYLE="white-space: nowrap"><CODE CLASS="PARAMETER">mode_menu</CODE>&nbsp;:</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P></P></TD></TR><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5625"><SPAN STYLE="white-space: nowrap"><CODE CLASS="PARAMETER">filename</CODE>&nbsp;:</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P>&#13;</P></TD></TR></TBODY></TABLE></DIV><HR><DIV CLASS="REFSECT2"><A NAME="AEN5630"></A><H3><A NAME="CUI-MODE-MENU-POPUP"></A>cui_mode_menu_popup ()</H3><PRE CLASS="PROGRAMLISTING">void        cui_mode_menu_popup             (<A HREF="cuimodemenu.html">CuiModeMenu</A> *cui_mode_menu,
                                             GtkWidget *parent_widget,
                                             GdkEventButton *event);</PRE><P>Starts up a <A HREF="cuifilemenu.html"><SPAN CLASS="TYPE">CuiFileMenu</SPAN></A> on the given location of the screen. This function
is very important since there are a lot of file names on the screen and the
file menu is a rather complicated and powerfull user interface element.</P><P></P><P></P><TABLE CLASS="variablelist" BORDER="0" CELLSPACING="0" CELLPADDING="4"><TBODY><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5645"><SPAN STYLE="white-space: nowrap"><CODE CLASS="PARAMETER">cui_mode_menu</CODE>&nbsp;:</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P> a <A HREF="cuimodemenu.html"><SPAN CLASS="TYPE">CuiModeMenu</SPAN></A> to pop-up</P></TD></TR><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5652"><SPAN STYLE="white-space: nowrap"><CODE CLASS="PARAMETER">parent_widget</CODE>&nbsp;:</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P> the parent widget of the menu</P></TD></TR><TR><TD ALIGN="LEFT" VALIGN="TOP"><A NAME="AEN5657"><SPAN STYLE="white-space: nowrap"><CODE CLASS="PARAMETER">event</CODE>&nbsp;:</SPAN></TD><TD ALIGN="LEFT" VALIGN="TOP"><P> the event that caused this opertaion</P></TD></TR></TBODY></TABLE></DIV></DIV><DIV CLASS="REFSECT1"><A NAME="AEN5662"></A><H2>Properties</H2><DIV CLASS="REFSECT2"><A NAME="AEN5664"></A><H3><A NAME="CUIMODEMENU--FILENAME"></A>The &quot;<TT CLASS="LITERAL">filename</TT>&quot; property</H3><PRE CLASS="PROGRAMLISTING">  &quot;filename&quot;             gpointer              : Read / Write</PRE><P>The CuiFilename type file name for the menu.</P></DIV></DIV><TABLE CLASS="navigation" WIDTH="100%" SUMMARY="Navigation footer" CELLPADDING="2" CELLSPACING="2"><TR VALIGN="middle"><TD ALIGN="left"><A ACCESSKEY="p" HREF="cuifilemenu.html"><B>&lt;&lt;&lt;&nbsp;CuiFileMenu</B></A></TD><TD ALIGN="right"><A ACCESSKEY="n" HREF="cuiusermenu.html"><B>CuiUserMenu&nbsp;&gt;&gt;&gt;</B></A></TD></TR></TABLE></BODY></HTML>