Make it clear that the id is the same one as was passed to AddTool().
Closes #12597.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65858
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
Enables or disables the tool.
@param toolId
Enables or disables the tool.
@param toolId
- Tool to enable or disable.
+ ID of the tool to enable or disable, as passed to AddTool().
@param enable
If @true, enables the tool, otherwise disables it.
@param enable
If @true, enables the tool, otherwise disables it.
Get any client data associated with the tool.
@param toolId
Get any client data associated with the tool.
@param toolId
- Id of the tool, as passed to AddTool().
+ ID of the tool in question, as passed to AddTool().
@return Client data, or @NULL if there is none.
*/
@return Client data, or @NULL if there is none.
*/
Called to determine whether a tool is enabled (responds to user input).
@param toolId
Called to determine whether a tool is enabled (responds to user input).
@param toolId
- Id of the tool in question.
+ ID of the tool in question, as passed to AddTool().
@return @true if the tool is enabled, @false otherwise.
@return @true if the tool is enabled, @false otherwise.
Returns the long help for the given tool.
@param toolId
Returns the long help for the given tool.
@param toolId
+ ID of the tool in question, as passed to AddTool().
@see SetToolLongHelp(), SetToolShortHelp()
*/
@see SetToolLongHelp(), SetToolShortHelp()
*/
/**
Returns the tool position in the toolbar, or @c wxNOT_FOUND if the tool
is not found.
/**
Returns the tool position in the toolbar, or @c wxNOT_FOUND if the tool
is not found.
+
+ @param toolId
+ ID of the tool in question, as passed to AddTool().
*/
virtual int GetToolPos(int toolId) const;
*/
virtual int GetToolPos(int toolId) const;
Returns the short help for the given tool.
@param toolId
Returns the short help for the given tool.
@param toolId
+ ID of the tool in question, as passed to AddTool().
@see GetToolLongHelp(), SetToolShortHelp()
*/
@see GetToolLongHelp(), SetToolShortHelp()
*/
Gets the on/off state of a toggle tool.
@param toolId
Gets the on/off state of a toggle tool.
@param toolId
+ ID of the tool in question, as passed to AddTool().
@return @true if the tool is toggled on, @false otherwise.
@return @true if the tool is toggled on, @false otherwise.
/**
Sets the client data associated with the tool.
/**
Sets the client data associated with the tool.
+
+ @param id
+ ID of the tool in question, as passed to AddTool().
*/
virtual void SetToolClientData(int id, wxObject* clientData);
*/
virtual void SetToolClientData(int id, wxObject* clientData);
is in a disabled state. This can only be used on Button tools, not
controls.
is in a disabled state. This can only be used on Button tools, not
controls.
+ @param id
+ ID of the tool in question, as passed to AddTool().
+
@note The native toolbar classes on the main platforms all synthesize
the disabled bitmap from the normal bitmap, so this function will
have no effect on those platforms.
@note The native toolbar classes on the main platforms all synthesize
the disabled bitmap from the normal bitmap, so this function will
have no effect on those platforms.
Sets the long help for the given tool.
@param toolId
Sets the long help for the given tool.
@param toolId
+ ID of the tool in question, as passed to AddTool().
@param helpString
A string for the long help.
@param helpString
A string for the long help.
/**
Sets the bitmap to be used by the tool with the given ID. This can only
be used on Button tools, not controls.
/**
Sets the bitmap to be used by the tool with the given ID. This can only
be used on Button tools, not controls.
+
+ @param id
+ ID of the tool in question, as passed to AddTool().
*/
virtual void SetToolNormalBitmap(int id, const wxBitmap& bitmap);
*/
virtual void SetToolNormalBitmap(int id, const wxBitmap& bitmap);
Sets the short help for the given tool.
@param toolId
Sets the short help for the given tool.
@param toolId
+ ID of the tool in question, as passed to AddTool().
@param helpString
The string for the short help.
@param helpString
The string for the short help.
Toggles a tool on or off. This does not cause any event to get emitted.
@param toolId
Toggles a tool on or off. This does not cause any event to get emitted.
@param toolId
+ ID of the tool in question, as passed to AddTool().
@param toggle
If @true, toggles the tool on, otherwise toggles it off.
@param toggle
If @true, toggles the tool on, otherwise toggles it off.