Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
LogicalToolbar Class Reference

LogicalToolbar allows manipulation of the Logical toolbar. It is the toolbar that has cluster creation, environment, background and other controls. More...

Public Member Functions

void setVisible (bool)
 Shows or hides this widget from view. More...
 
void setWidgetVisible (string, bool)
 Shows or hides the specified child widget. More...
 
void setDisabled (bool)
 Enables or disables input events to this widget. More...
 
void setWidgetDisable (string, bool)
 Enables or disables input events to the specified child widget. More...
 
void createCluster ()
 Creates a new cluster with the currently selected objects. More...
 
void moveBack ()
 Moves back out of a cluster. More...
 
void showViewPort ()
 Shows the Viewport. More...
 

Detailed Description

LogicalToolbar allows manipulation of the Logical toolbar. It is the toolbar that has cluster creation, environment, background and other controls.

Member Function Documentation

◆ createCluster()

void LogicalToolbar::createCluster ( )

Creates a new cluster with the currently selected objects.

◆ moveBack()

void LogicalToolbar::moveBack ( )

Moves back out of a cluster.

◆ setDisabled()

void LogicalToolbar::setDisabled ( bool  )

Enables or disables input events to this widget.

Parameters
bDisabled,trueto disable input events to this widget, false to enable input events.

◆ setVisible()

void LogicalToolbar::setVisible ( bool  )

Shows or hides this widget from view.

Parameters
bVisible,trueto show this widget, false to hide it.

◆ setWidgetDisable()

void LogicalToolbar::setWidgetDisable ( string  ,
bool   
)

Enables or disables input events to the specified child widget.

Parameters
widgetName,wherewidgetName can be one of the following: setBGImageBtn, MoveBtn, CreateClusterBtn, BackBtn, CurrentClusterBtn, MiniCanvasBtn.
bDisabled,trueto disable input events to this widget, false to enable input events.

◆ setWidgetVisible()

void LogicalToolbar::setWidgetVisible ( string  ,
bool   
)

Shows or hides the specified child widget.

Parameters
widgetName,wherewidgetName can be one of the following: setBGImageBtn, MoveBtn, CreateClusterBtn, BackBtn, CurrentClusterBtn, MiniCanvasBtn.
bVisible,trueto show this child widget, false to hide it.

◆ showViewPort()

void LogicalToolbar::showViewPort ( )

Shows the Viewport.


The documentation for this class was generated from the following file: