<!-- This is an automatically generated file. -->
<Chapter Label="Chapter_Francy_Menus">
<Heading>Francy Menus</Heading>
Menus are lists of actions that are rendered on the GUI. Menus can have SubMenus,
and are constituted by a label Title and an action defined as a <C>Callback</C>.
<P/>
Please see Francy-JS for client implementation.
<Section Label="Chapter_Francy_Menus_Section_Categories">
<Heading>Categories</Heading>
In this section we show all Francy Menu Categories.
<ManSection>
<Filt Arg="arg" Name="IsMenu" Label="for IsFrancyObject"/>
<Returns><K>true</K> or <K>false</K>
</Returns>
<Description>
Identifies <C>Menu</C> objects.
</Description>
</ManSection>
In this section we show all Francy Menu Representations.
<ManSection>
<Filt Arg="arg" Name="IsMenuRep" Label="for IsComponentObjectRep"/>
<Returns><K>true</K> or <K>false</K>
</Returns>
<Description>
Checks whether an <C>Object</C> has a <C>Menu</C> internal representation.
</Description>
</ManSection>
In this section we show all Francy Menu Operations.
<ManSection>
<Oper Arg="IsString(title), [IsCallback]" Name="Menu" Label="for IsString, IsCallback"/>
<Returns><C>Menu</C>
</Returns>
<Description>
Creates a Menu with a label title and an action <C>Callback</C>.
Is up to the client implementation to sort out the Menu and invoke the <C>Callback</C>.
Examples:
<P/>
Create a <C>FrancyMenu</C>:
<#Include Label="Example_Create_Menu_1">
<P/>
</Description>
</ManSection>
<ManSection>
<Oper Arg="IsMenu, [IsMenu, List(IsMenu)]" Name="Add" Label="for IsMenu, IsMenu"/>
<Returns><C>Menu</C>
</Returns>
<Description>
Add one <C>Menu</C> to a specific <C>Menu</C> creating a Submenu.
Is up to the client implementation to handle this.
</Description>
</ManSection>
<ManSection>
<Oper Arg="IsMenu, [IsMenu, List(IsMenu)]" Name="Remove" Label="for IsMenu, IsMenu"/>
<Returns><C>Menu</C>
</Returns>
<Description>
Remove a <C>Menu</C> from a specific <C>Menu</C>.
Is up to the client implementation to handle this.
</Description>
</ManSection>
In this section we show all Francy Core Attributes
<ManSection>
<Attr Arg="arg" Name="Title" Label="for IsMenu"/>
<Returns><C>IsString</C> with the title of the object
</Returns>
<Description>
A label title on a <C>Menu</C> is used to identify what action it is about on a menu entry.
</Description>
</ManSection>
<ManSection>
<Oper Arg="IsMenu, IsString" Name="SetTitle" Label="for IsMenu, IsString"/>
<Description>
Sets the title of the <C>Menu</C>.
</Description>
</ManSection>
</Section>
</Chapter>
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.