wxToolBar
Module
Module Summary
Description
See external documentation: wxToolBar.
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
DATA TYPES
Exports
addControl(This, Control) -> wx:wx_object()
addSeparator(This) -> wx:wx_object()
Types
addTool(This, Tool) -> wx:wx_object()
addTool(This, Toolid, Bitmap) -> wx:wx_object()
Equivalent to addTool(This, Toolid, Bitmap, []).
addTool(This, Toolid, Label, Bitmap) -> wx:wx_object()
See external documentation.
Also:
addTool(This, Toolid, Bitmap, BmpDisabled) -> wx:wx_object() when
This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap();
(This, Toolid, Bitmap, [Option]) -> wx:wx_object() when
This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(),
Option :: {'shortHelpString', unicode:chardata()}
| {'longHelpString', unicode:chardata()}.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
addTool(This, Toolid, Label, Bitmap, BmpDisabled) -> wx:wx_object()
Types
See external documentation.
Also:
addTool(This, Toolid, Label, Bitmap, [Option]) -> wx:wx_object() when
This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(),
Option :: {'shortHelp', unicode:chardata()}
| {'kind', wx:wx_enum()};
(This, Toolid, Bitmap, BmpDisabled, [Option]) -> wx:wx_object() when
This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(),
Option :: {'toggle', boolean()}
| {'clientData', wx:wx_object()}
| {'shortHelpString', unicode:chardata()}
| {'longHelpString', unicode:chardata()}.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
addTool(This, Toolid, Bitmap, BmpDisabled, Toggle, XPos) -> wx:wx_object()
Types
See external documentation.
Also:
addTool(This, Toolid, Label, Bitmap, BmpDisabled, [Option]) -> wx:wx_object() when
This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(),
Option :: {'kind', wx:wx_enum()}
| {'shortHelp', unicode:chardata()}
| {'longHelp', unicode:chardata()}
| {'data', wx:wx_object()}.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
addTool(This, Toolid, Bitmap, BmpDisabled, Toggle, XPos, Options::[Option]) -> wx:wx_object()
Types
addCheckTool(This, Toolid, Label, Bitmap) -> wx:wx_object()
Equivalent to addCheckTool(This, Toolid, Label, Bitmap, []).
addCheckTool(This, Toolid, Label, Bitmap, Options::[Option]) -> wx:wx_object()
Types
addRadioTool(This, Toolid, Label, Bitmap) -> wx:wx_object()
Equivalent to addRadioTool(This, Toolid, Label, Bitmap, []).
addRadioTool(This, Toolid, Label, Bitmap, Options::[Option]) -> wx:wx_object()
Types
addStretchableSpace(This) -> wx:wx_object()
Types
insertStretchableSpace(This, Pos) -> wx:wx_object()
deleteTool(This, Toolid) -> boolean()
deleteToolByPos(This, Pos) -> boolean()
enableTool(This, Toolid, Enable) -> ok
findById(This, Toolid) -> wx:wx_object()
findControl(This, Toolid) -> wxControl:wxControl()
findToolForPosition(This, X, Y) -> wx:wx_object()
getToolSize(This) -> {W::integer(), H::integer()}
Types
getToolBitmapSize(This) -> {W::integer(), H::integer()}
Types
getMargins(This) -> {W::integer(), H::integer()}
Types
getToolEnabled(This, Toolid) -> boolean()
getToolLongHelp(This, Toolid) -> unicode:charlist()
getToolPacking(This) -> integer()
Types
getToolPos(This, Id) -> integer()
getToolSeparation(This) -> integer()
Types
getToolShortHelp(This, Toolid) -> unicode:charlist()
getToolState(This, Toolid) -> boolean()
insertControl(This, Pos, Control) -> wx:wx_object()
insertSeparator(This, Pos) -> wx:wx_object()
insertTool(This, Pos, Tool) -> wx:wx_object()
insertTool(This, Pos, Toolid, Bitmap) -> wx:wx_object()
Equivalent to insertTool(This, Pos, Toolid, Bitmap, []).
insertTool(This, Pos, Toolid, Label, Bitmap) -> wx:wx_object()
Types
See external documentation.
Also:
insertTool(This, Pos, Toolid, Bitmap, [Option]) -> wx:wx_object() when
This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(),
Option :: {'bmpDisabled', wxBitmap:wxBitmap()}
| {'toggle', boolean()}
| {'clientData', wx:wx_object()}
| {'shortHelp', unicode:chardata()}
| {'longHelp', unicode:chardata()}.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
insertTool(This, Pos, Toolid, Label, Bitmap, Options::[Option]) -> wx:wx_object()
Types
See external documentation.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX
Types
removeTool(This, Toolid) -> wx:wx_object()
setToolBitmapSize(This, Size) -> ok
setToolLongHelp(This, Toolid, HelpString) -> ok
setToolPacking(This, Packing) -> ok
setToolShortHelp(This, Id, HelpString) -> ok