wxErlang

Reference Manual

Version 1.8.2

Table of Contents

wxMenuItem

Module

wxMenuItem

Module Summary

See external documentation: wxMenuItem.

Description

See external documentation: wxMenuItem.

DATA TYPES

wxMenuItem()

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

Equivalent to new([]).

new(Options::[Option]) -> wxMenuItem()

Types

Option = {parentMenu, wxMenu:wxMenu()} | {id, integer()} | {text, unicode:chardata()} | {help, unicode:chardata()} | {kind, wx:wx_enum()} | {subMenu, wxMenu:wxMenu()}

See external documentation.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX

check(This) -> ok

Types

This = wxMenuItem()

Equivalent to check(This, []).

check(This, Options::[Option]) -> ok

Types

This = wxMenuItem()
Option = {check, boolean()}

enable(This) -> ok

Types

This = wxMenuItem()

Equivalent to enable(This, []).

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

Types

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

getBitmap(This) -> wxBitmap:wxBitmap()

Types

This = wxMenuItem()

getHelp(This) -> unicode:charlist()

Types

This = wxMenuItem()

getId(This) -> integer()

Types

This = wxMenuItem()

getKind(This) -> wx:wx_enum()

Types

This = wxMenuItem()

See external documentation.
Res = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX

getLabel(This) -> unicode:charlist()

Types

This = wxMenuItem()

getLabelFromText(Text) -> unicode:charlist()

Types

getMenu(This) -> wxMenu:wxMenu()

Types

This = wxMenuItem()

getText(This) -> unicode:charlist()

Types

This = wxMenuItem()

getSubMenu(This) -> wxMenu:wxMenu()

Types

This = wxMenuItem()

isCheckable(This) -> boolean()

Types

This = wxMenuItem()

isChecked(This) -> boolean()

Types

This = wxMenuItem()

isEnabled(This) -> boolean()

Types

This = wxMenuItem()

isSeparator(This) -> boolean()

Types

This = wxMenuItem()

isSubMenu(This) -> boolean()

Types

This = wxMenuItem()

setBitmap(This, Bitmap) -> ok

Types

This = wxMenuItem()

setHelp(This, Str) -> ok

Types

This = wxMenuItem()

setMenu(This, Menu) -> ok

Types

This = wxMenuItem()

setSubMenu(This, Menu) -> ok

Types

This = wxMenuItem()

setText(This, Str) -> ok

Types

This = wxMenuItem()

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

Destroys this object, do not use object again