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
RealtimeToolbar Class Reference

RealtimeToolbar allows for UI manipulation of the Realtime toolbar. 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 the specified child widget. More...
 
void resetNetwork ()
 Simulates clicking on the Power Cycle Devices button on the Realtime toolbar. More...
 
void fastForwardTime ()
 Simulates clicking on the Fast Forward button on the Realtime toolbar. More...
 

Detailed Description

RealtimeToolbar allows for UI manipulation of the Realtime toolbar.

Member Function Documentation

◆ fastForwardTime()

void RealtimeToolbar::fastForwardTime ( )

Simulates clicking on the Fast Forward button on the Realtime toolbar.

◆ resetNetwork()

void RealtimeToolbar::resetNetwork ( )

Simulates clicking on the Power Cycle Devices button on the Realtime toolbar.

◆ setDisabled()

void RealtimeToolbar::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 RealtimeToolbar::setVisible ( bool  )

Shows or hides this widget from view.

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

◆ setWidgetDisable()

void RealtimeToolbar::setWidgetDisable ( string  ,
bool   
)

Enables or disables the specified child widget.

Parameters
widgetName,wherewidgetName can be one of the following: ResetNetworkBtn, FastForwardTimeBtn.
bDisabled,trueto disable input events to this child widget, false to enable input events.

◆ setWidgetVisible()

void RealtimeToolbar::setWidgetVisible ( string  ,
bool   
)

Shows or hides the specified child widget.

Parameters
widgetName,wherewidgetName can be one of the following: ResetNetworkBtn, FastForwardTimeBtn.
bVisible,trueto show this child widget, false to hide it.

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