table of contents
- stretch 1:19.2.1+dfsg-2+deb9u2
- testing 1:21.2.6+dfsg-1
- unstable 1:21.2.6+dfsg-1
- experimental 1:22.0.4+dfsg-1
wxToolBar(3erl) | Erlang Module Definition | wxToolBar(3erl) |
NAME¶
wxToolBar - See external documentation: wxToolBar.DESCRIPTION¶
See external documentation: wxToolBar.This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
DATA TYPES¶
- wxToolBar():
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¶
addControl(This, Control) -> wx:wx_object()Types:
Control = wxControl:wxControl()
See external documentation.
addSeparator(This) -> wx:wx_object()
Types:
See external documentation.
addTool(This, Tool) -> wx:wx_object()
Types:
Tool = wx:wx_object()
See external documentation.
addTool(This, Toolid, Bitmap) -> wx:wx_object()
Types:
Toolid = integer()
Bitmap = wxBitmap:wxBitmap()
Equivalent to addTool(This, Toolid, Bitmap, []).
addTool(This, Toolid, Label, Bitmap) ->
wx:wx_object()
Types:
Toolid = integer()
Label = unicode:chardata()
Bitmap = wxBitmap:wxBitmap()
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:
Toolid = integer()
Label = unicode:chardata()
Bitmap = wxBitmap:wxBitmap()
BmpDisabled = wxBitmap:wxBitmap()
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:
Toolid = integer()
Bitmap = wxBitmap:wxBitmap()
BmpDisabled = wxBitmap:wxBitmap()
Toggle = boolean()
XPos = integer()
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:
Toolid = integer()
Bitmap = wxBitmap:wxBitmap()
BmpDisabled = wxBitmap:wxBitmap()
Toggle = boolean()
XPos = integer()
Option = {yPos, integer()} | {clientData, wx:wx_object()} | {shortHelp, unicode:chardata()} | {longHelp, unicode:chardata()}
See external documentation.
addCheckTool(This, Toolid, Label, Bitmap) ->
wx:wx_object()
Types:
Toolid = integer()
Label = unicode:chardata()
Bitmap = wxBitmap:wxBitmap()
Equivalent to addCheckTool(This, Toolid, Label, Bitmap, []).
addCheckTool(This, Toolid, Label, Bitmap, Options::[Option])
-> wx:wx_object()
Types:
Toolid = integer()
Label = unicode:chardata()
Bitmap = wxBitmap:wxBitmap()
Option = {bmpDisabled, wxBitmap:wxBitmap()} | {shortHelp, unicode:chardata()} | {longHelp, unicode:chardata()} | {data, wx:wx_object()}
See external documentation.
addRadioTool(This, Toolid, Label, Bitmap) ->
wx:wx_object()
Types:
Toolid = integer()
Label = unicode:chardata()
Bitmap = wxBitmap:wxBitmap()
Equivalent to addRadioTool(This, Toolid, Label, Bitmap, []).
addRadioTool(This, Toolid, Label, Bitmap, Options::[Option])
-> wx:wx_object()
Types:
Toolid = integer()
Label = unicode:chardata()
Bitmap = wxBitmap:wxBitmap()
Option = {bmpDisabled, wxBitmap:wxBitmap()} | {shortHelp, unicode:chardata()} | {longHelp, unicode:chardata()} | {data, wx:wx_object()}
See external documentation.
addStretchableSpace(This) -> wx:wx_object()
Types:
See external documentation.
insertStretchableSpace(This, Pos) ->
wx:wx_object()
Types:
Pos = integer()
See external documentation.
deleteTool(This, Toolid) -> boolean()
Types:
Toolid = integer()
See external documentation.
deleteToolByPos(This, Pos) -> boolean()
Types:
Pos = integer()
See external documentation.
enableTool(This, Toolid, Enable) -> ok
Types:
Toolid = integer()
Enable = boolean()
See external documentation.
findById(This, Toolid) -> wx:wx_object()
Types:
Toolid = integer()
See external documentation.
findControl(This, Toolid) ->
wxControl:wxControl()
Types:
Toolid = integer()
See external documentation.
findToolForPosition(This, X, Y) -> wx:wx_object()
Types:
X = integer()
Y = integer()
See external documentation.
getToolSize(This) -> {W::integer(), H::integer()}
Types:
See external documentation.
getToolBitmapSize(This) -> {W::integer(), H::integer()}
Types:
See external documentation.
getMargins(This) -> {W::integer(), H::integer()}
Types:
See external documentation.
getToolEnabled(This, Toolid) -> boolean()
Types:
Toolid = integer()
See external documentation.
getToolLongHelp(This, Toolid) ->
unicode:charlist()
Types:
Toolid = integer()
See external documentation.
getToolPacking(This) -> integer()
Types:
See external documentation.
getToolPos(This, Id) -> integer()
Types:
Id = integer()
See external documentation.
getToolSeparation(This) -> integer()
Types:
See external documentation.
getToolShortHelp(This, Toolid) ->
unicode:charlist()
Types:
Toolid = integer()
See external documentation.
getToolState(This, Toolid) -> boolean()
Types:
Toolid = integer()
See external documentation.
insertControl(This, Pos, Control) ->
wx:wx_object()
Types:
Pos = integer()
Control = wxControl:wxControl()
See external documentation.
insertSeparator(This, Pos) -> wx:wx_object()
Types:
Pos = integer()
See external documentation.
insertTool(This, Pos, Tool) -> wx:wx_object()
Types:
Pos = integer()
Tool = wx:wx_object()
See external documentation.
insertTool(This, Pos, Toolid, Bitmap) ->
wx:wx_object()
Types:
Pos = integer()
Toolid = integer()
Bitmap = wxBitmap:wxBitmap()
Equivalent to insertTool(This, Pos, Toolid, Bitmap, []).
insertTool(This, Pos, Toolid, Label, Bitmap) ->
wx:wx_object()
Types:
Pos = integer()
Toolid = integer()
Label = unicode:chardata()
Bitmap = wxBitmap:wxBitmap()
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:
Pos = integer()
Toolid = integer()
Label = unicode:chardata()
Bitmap = wxBitmap:wxBitmap()
Option = {bmpDisabled, wxBitmap:wxBitmap()} | {kind, wx:wx_enum()} | {shortHelp, unicode:chardata()} | {longHelp, unicode:chardata()} | {clientData, wx:wx_object()}
See external documentation.
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO |
?wxITEM_MAX
realize(This) -> boolean()
Types:
See external documentation.
removeTool(This, Toolid) -> wx:wx_object()
Types:
Toolid = integer()
See external documentation.
setMargins(This, X, Y) -> ok
Types:
X = integer()
Y = integer()
See external documentation.
setToolBitmapSize(This, Size) -> ok
Types:
Size = {W::integer(), H::integer()}
See external documentation.
setToolLongHelp(This, Toolid, HelpString) -> ok
Types:
Toolid = integer()
HelpString = unicode:chardata()
See external documentation.
setToolPacking(This, Packing) -> ok
Types:
Packing = integer()
See external documentation.
setToolShortHelp(This, Id, HelpString) -> ok
Types:
Id = integer()
HelpString = unicode:chardata()
See external documentation.
setToolSeparation(This, Separation) -> ok
Types:
Separation = integer()
See external documentation.
toggleTool(This, Toolid, Toggle) -> ok
Types:
Toolid = integer()
Toggle = boolean()
See external documentation.
AUTHORS¶
<>wx 1.8 |