A Discrete-Event Network Simulator
API
grid.MainWindow Class Reference

MainWindow class. More...

Public Member Functions

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

Private Member Functions

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

Private Attributes

 __dialog
 dialog More...
 
 __render
 render More...
 
 __window
 window More...
 

Detailed Description

MainWindow class.

Definition at line 1644 of file grid.py.

Constructor & Destructor Documentation

◆ __init__()

def 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.

__dialog_response_cb function

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.

__output_png_cb function

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.

__set_bigger_cb function

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.

__set_smaller_cb function

Parameters
selfthis object
widgetwidget
Returns
none

Definition at line 1695 of file grid.py.

References grid.MainWindow.__render.

◆ run()

def 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().

◆ __render

grid.MainWindow.__render
private

◆ __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: