Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.5


Expand All
Contract All

Table of Contents

wxMenuBar

MODULE

wxMenuBar

MODULE SUMMARY

See external documentation: wxMenuBar.

DESCRIPTION

See external documentation: wxMenuBar.

This class is derived (and can use functions) from:
wxWindow
wxEvtHandler

DATA TYPES

wxMenuBar()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

new() -> wxMenuBar()

new(Style::integer()) -> wxMenuBar()

append(This::wxMenuBar(), Menu::wxMenu() (see module wxMenu), Title::string()) -> bool()

check(This::wxMenuBar(), Itemid::integer(), Check::bool()) -> ok

enable(This::wxMenuBar()) -> bool()

Equivalent to enable(This, []).

enable(This::wxMenuBar(), Options::[Option]) -> bool()

Types:

Option = {enable, bool()}

enable(This::wxMenuBar(), Itemid::integer(), Enable::bool()) -> ok

enableTop(This::wxMenuBar(), Pos::integer(), Flag::bool()) -> ok

findMenu(This::wxMenuBar(), Title::string()) -> integer()

findMenuItem(This::wxMenuBar(), MenuString::string(), ItemString::string()) -> integer()

findItem(This::wxMenuBar(), Id::integer()) -> wxMenuItem() (see module wxMenuItem)

getHelpString(This::wxMenuBar(), Itemid::integer()) -> string()

getLabel(This::wxMenuBar()) -> string()

getLabel(This::wxMenuBar(), Itemid::integer()) -> string()

getLabelTop(This::wxMenuBar(), Pos::integer()) -> string()

getMenu(This::wxMenuBar(), Pos::integer()) -> wxMenu() (see module wxMenu)

getMenuCount(This::wxMenuBar()) -> integer()

insert(This::wxMenuBar(), Pos::integer(), Menu::wxMenu() (see module wxMenu), Title::string()) -> bool()

isChecked(This::wxMenuBar(), Itemid::integer()) -> bool()

isEnabled(This::wxMenuBar()) -> bool()

isEnabled(This::wxMenuBar(), Itemid::integer()) -> bool()

remove(This::wxMenuBar(), Pos::integer()) -> wxMenu() (see module wxMenu)

replace(This::wxMenuBar(), Pos::integer(), Menu::wxMenu() (see module wxMenu), Title::string()) -> wxMenu() (see module wxMenu)

setHelpString(This::wxMenuBar(), Itemid::integer(), HelpString::string()) -> ok

setLabel(This::wxMenuBar(), S::string()) -> ok

setLabel(This::wxMenuBar(), Itemid::integer(), Label::string()) -> ok

setLabelTop(This::wxMenuBar(), Pos::integer(), Label::string()) -> ok

destroy(This::wxMenuBar()) -> ok

Destroys this object, do not use object again