In file No file:

## #define __CSMOUSE_H__

> Just a small example how menus can be defined and used:

>     csComponent *window = new csWindow (app, "Window title");
>     csMenu *menu = (csMenu *)window->GetChild (CSWID_MENUBAR);
>     if (menu)
>     {
>     submenu = new csMenu (NULL);
>     (void)new csMenuItem (menu, "~File", submenu);
>     (void)new csMenuItem (submenu, "~Open\tCtrl+O", cscmdNothing);
>     (void)new csMenuItem (submenu, "~Save\tCtrl+S", cscmdNothing);
>     (void)new csMenuItem (submenu, "~Close", cscmdNothing);
>     (void)new csMenuItem (submenu);
>     (void)new csMenuItem (submenu, "~Quit\tCtrl+Q", cscmdQuit);
>     [

## Documentation

> Just a small example how menus can be defined and used:

>     csComponent *window = new csWindow (app, "Window title");
>     csMenu *menu = (csMenu *)window->GetChild (CSWID_MENUBAR);
>     if (menu)
>     {
>     submenu = new csMenu (NULL);
>     (void)new csMenuItem (menu, "~File", submenu);
>     (void)new csMenuItem (submenu, "~Open\tCtrl+O", cscmdNothing);
>     (void)new csMenuItem (submenu, "~Save\tCtrl+S", cscmdNothing);
>     (void)new csMenuItem (submenu, "~Close", cscmdNothing);
>     (void)new csMenuItem (submenu);
>     (void)new csMenuItem (submenu, "~Quit\tCtrl+Q", cscmdQuit);
>     [...]
>     menu->PlaceItems ();
>     }

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de