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

PaletteDialog allows for UI manipulation of the Palette Dialog. 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...
 

Detailed Description

PaletteDialog allows for UI manipulation of the Palette Dialog.

Member Function Documentation

◆ setDisabled()

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

Shows or hides this widget from view.

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

◆ setWidgetDisable()

void PaletteDialog::setWidgetDisable ( string  ,
bool   
)

Enables or disables the specified child widget.

Parameters
widgetName,wherewidgetName can be one of the following: OutlineCheckBox, ColorFilledBtn, NoFillRB, FillColorRB, EllipseBtn, LineBtn, RectangleBtn, FreeformBtn.
bDisabled,trueto disable input events to this child widget, false to enable input events.

◆ setWidgetVisible()

void PaletteDialog::setWidgetVisible ( string  ,
bool   
)

Shows or hides the specified child widget.

Parameters
widgetName,wherewidgetName can be one of the following: OutlineCheckBox, ColorFilledBtn, NoFillRB, FillColorRB, EllipseBtn, LineBtn, RectangleBtn, FreeformBtn.
bVisible,trueto show this child widget, false to hide it.

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