User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99.2

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()

See external documentation.

new(Style) -> wxMenuBar()

Types:

Style = integer()

See external documentation.

append(This, Menu, Title) -> boolean()

Types:

This = wxMenuBar()
Menu = wxMenu() (see module wxMenu)
Title = chardata() (see module unicode)

See external documentation.

check(This, Itemid, Check) -> ok

Types:

This = wxMenuBar()
Itemid = integer()
Check = boolean()

See external documentation.

enable(This) -> boolean()

Types:

This = wxMenuBar()

Equivalent to enable(This, []).

enable(This, Option::[Option]) -> boolean()

Types:

This = wxMenuBar()
Option = {enable, boolean()}

See external documentation.

enable(This, Itemid, Enable) -> ok

Types:

This = wxMenuBar()
Itemid = integer()
Enable = boolean()

See external documentation.

enableTop(This, Pos, Flag) -> ok

Types:

This = wxMenuBar()
Pos = integer()
Flag = boolean()

See external documentation.

findMenu(This, Title) -> integer()

Types:

This = wxMenuBar()
Title = chardata() (see module unicode)

See external documentation.

findMenuItem(This, MenuString, ItemString) -> integer()

Types:

This = wxMenuBar()
MenuString = chardata() (see module unicode)
ItemString = chardata() (see module unicode)

See external documentation.

findItem(This, Id) -> wxMenuItem() (see module wxMenuItem)

Types:

This = wxMenuBar()
Id = integer()

See external documentation.

getHelpString(This, Itemid) -> charlist() (see module unicode)

Types:

This = wxMenuBar()
Itemid = integer()

See external documentation.

getLabel(This) -> charlist() (see module unicode)

Types:

This = wxMenuBar()

See external documentation.

getLabel(This, Itemid) -> charlist() (see module unicode)

Types:

This = wxMenuBar()
Itemid = integer()

See external documentation.

getLabelTop(This, Pos) -> charlist() (see module unicode)

Types:

This = wxMenuBar()
Pos = integer()

See external documentation.

getMenu(This, Pos) -> wxMenu() (see module wxMenu)

Types:

This = wxMenuBar()
Pos = integer()

See external documentation.

getMenuCount(This) -> integer()

Types:

This = wxMenuBar()

See external documentation.

insert(This, Pos, Menu, Title) -> boolean()

Types:

This = wxMenuBar()
Pos = integer()
Menu = wxMenu() (see module wxMenu)
Title = chardata() (see module unicode)

See external documentation.

isChecked(This, Itemid) -> boolean()

Types:

This = wxMenuBar()
Itemid = integer()

See external documentation.

isEnabled(This) -> boolean()

Types:

This = wxMenuBar()

See external documentation.

isEnabled(This, Itemid) -> boolean()

Types:

This = wxMenuBar()
Itemid = integer()

See external documentation.

remove(This, Pos) -> wxMenu() (see module wxMenu)

Types:

This = wxMenuBar()
Pos = integer()

See external documentation.

replace(This, Pos, Menu, Title) -> wxMenu() (see module wxMenu)

Types:

This = wxMenuBar()
Pos = integer()
Menu = wxMenu() (see module wxMenu)
Title = chardata() (see module unicode)

See external documentation.

setHelpString(This, Itemid, HelpString) -> ok

Types:

This = wxMenuBar()
Itemid = integer()
HelpString = chardata() (see module unicode)

See external documentation.

setLabel(This, S) -> ok

Types:

This = wxMenuBar()
S = chardata() (see module unicode)

See external documentation.

setLabel(This, Itemid, Label) -> ok

Types:

This = wxMenuBar()
Itemid = integer()
Label = chardata() (see module unicode)

See external documentation.

setLabelTop(This, Pos, Label) -> ok

Types:

This = wxMenuBar()
Pos = integer()
Label = chardata() (see module unicode)

See external documentation.

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

Destroys this object, do not use object again