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

Imenu: A Simple Internal Menu

Defines a menu used internally. More...

Data Structures

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

struct  Ewl_IMenu
 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_IMENU(menu)   ((Ewl_IMenu *) menu)
 Typecasts a pointer to an Ewl_IMenu pointer.


Typedefs

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


Functions

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

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


Detailed Description

Defines a menu used internally.

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


Function Documentation

void ewl_imenu_init Ewl_IMenu 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_imenu_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.