A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
grid.MainWindow Class Reference

MainWindow class. More...

Public Member Functions

 __init__ (self)
 Initializer.
 
 run (self, graphic)
 Run function.
 

Private Member Functions

 __dialog_response_cb (self, widget, response)
 Dialog Response Callback.
 
 __output_png_cb (self, widget)
 Output PNG Callback.
 
 __set_bigger_cb (self, widget)
 Set Bigger Callback.
 
 __set_smaller_cb (self, widget)
 Set Smaller Callback.
 

Private Attributes

 __dialog
 dialog
 
 __dialog_response_cb
 __dialog_response_cb function
 
 __output_png_cb
 __output_png_cb function
 
 __render
 render
 
 __set_bigger_cb
 __set_bigger_cb function
 
 __set_smaller_cb
 __set_smaller_cb function
 
 __window
 window
 

Detailed Description

MainWindow class.

Definition at line 1644 of file grid.py.

Constructor & Destructor Documentation

◆ __init__()

grid.MainWindow.__init__ ( self)

Initializer.

Parameters
selfthis object

Definition at line 1659 of file grid.py.

Member Function Documentation

◆ __dialog_response_cb()

grid.MainWindow.__dialog_response_cb ( self,
widget,
response )
private

Dialog Response Callback.

Parameters
selfthis object
widgetwidget
responseresponse
Returns
none

Definition at line 1725 of file grid.py.

References grid.MainWindow.__dialog, and grid.MainWindow.__render.

◆ __output_png_cb()

grid.MainWindow.__output_png_cb ( self,
widget )
private

Output PNG Callback.

Parameters
selfthis object
widgetwidget
Returns
none

Definition at line 1711 of file grid.py.

References grid.MainWindow.__window.

◆ __set_bigger_cb()

grid.MainWindow.__set_bigger_cb ( self,
widget )
private

Set Bigger Callback.

Parameters
selfthis object
widgetwidget
Returns
none

Definition at line 1703 of file grid.py.

References grid.MainWindow.__render.

◆ __set_smaller_cb()

grid.MainWindow.__set_smaller_cb ( self,
widget )
private

Set Smaller Callback.

Parameters
selfthis object
widgetwidget
Returns
none

Definition at line 1695 of file grid.py.

References grid.MainWindow.__render.

◆ run()

grid.MainWindow.run ( self,
graphic )

Run function.

Parameters
selfthis object
graphicgraphic
Returns
none

Definition at line 1665 of file grid.py.

Member Data Documentation

◆ __dialog

grid.MainWindow.__dialog
private

dialog

Definition at line 1720 of file grid.py.

Referenced by grid.MainWindow.__dialog_response_cb().

◆ __dialog_response_cb

grid.MainWindow.__dialog_response_cb
private

__dialog_response_cb function

Definition at line 1722 of file grid.py.

◆ __output_png_cb

grid.MainWindow.__output_png_cb
private

__output_png_cb function

Definition at line 1688 of file grid.py.

◆ __render

grid.MainWindow.__render
private

◆ __set_bigger_cb

grid.MainWindow.__set_bigger_cb
private

__set_bigger_cb function

Definition at line 1685 of file grid.py.

◆ __set_smaller_cb

grid.MainWindow.__set_smaller_cb
private

__set_smaller_cb function

Definition at line 1682 of file grid.py.

◆ __window

grid.MainWindow.__window
private

window

Definition at line 1672 of file grid.py.

Referenced by grid.MainWindow.__output_png_cb().


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