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

wxErlang
Reference Manual
Version 1.7


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

Types:

Style = integer()

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

Types:

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

check(This, Itemid, Check) -> ok

Types:

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

enable(This) -> boolean()

Types:

This = wxMenuBar()

Equivalent to enable(This, []).

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

Types:

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

enable(This, Itemid, Enable) -> ok

Types:

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

enableTop(This, Pos, Flag) -> ok

Types:

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

findMenu(This, Title) -> integer()

Types:

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

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

Types:

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

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

Types:

This = wxMenuBar()
Id = integer()

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

Types:

This = wxMenuBar()
Itemid = integer()

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

Types:

This = wxMenuBar()

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

Types:

This = wxMenuBar()
Itemid = integer()

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

Types:

This = wxMenuBar()
Pos = integer()

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

Types:

This = wxMenuBar()
Pos = integer()

getMenuCount(This) -> integer()

Types:

This = wxMenuBar()

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

Types:

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

isChecked(This, Itemid) -> boolean()

Types:

This = wxMenuBar()
Itemid = integer()

isEnabled(This) -> boolean()

Types:

This = wxMenuBar()

isEnabled(This, Itemid) -> boolean()

Types:

This = wxMenuBar()
Itemid = integer()

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

Types:

This = wxMenuBar()
Pos = integer()

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

Types:

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

setHelpString(This, Itemid, HelpString) -> ok

Types:

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

setLabel(This, S) -> ok

Types:

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

setLabel(This, Itemid, Label) -> ok

Types:

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

setLabelTop(This, Pos, Label) -> ok

Types:

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

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

Destroys this object, do not use object again