Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

Menu: A Simple Windowed Menu

Defines a menu used globally. More...

Data Structures

struct  Ewl_Menu
 Inherits from the Ewl_Menu_Base and does not extend the structure, but provides policy for drawing on the current evas. More...

struct  Ewl_Menu
 Inherits from the Ewl_Menu_Base and does not extend the structure, but provides policy for drawing on the current evas. More...


Defines

#define EWL_MENU(menu)   ((Ewl_Menu *) menu)
 Typecasts a pointer to an Ewl_Menu pointer.


Typedefs

typedef Ewl_Menu Ewl_Menu
 A simple internal menu, it is limited to drawing within the current evas.


Functions

Ewl_Widgetewl_menu_new (char *image, char *title)
 Create a new internal menu.

void ewl_menu_init (Ewl_Menu *menu, char *image, char *title)
 Initialize an internal menu to starting values.


Detailed Description

Defines a menu used globally.

The contents on the menu are drawn outside of the Evas.


Function Documentation

void ewl_menu_init Ewl_Menu menu,
char *  image,
char *  title
 

Initialize an internal menu to starting values.

Parameters:
menu: the menu to initialize
image: the path to the icon image
title: the string displayed in the title
Returns:
Returns no value.

Ewl_Widget* ewl_menu_new char *  image,
char *  title
 

Create a new internal menu.

Parameters:
image: the image icon to use for this menu
title: the text to place in the menu
Returns:
Returns a pointer to a new menu on success, NULL on failure.