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 1521 of file grid.py.

Constructor & Destructor Documentation

◆ __init__()

def grid.MainWindow.__init__ (   self)

Initializer.

Parameters
selfthis object

Definition at line 1528 of file grid.py.

Member Function Documentation

◆ __dialog_response_cb()

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

Dialog Response Callback.

Parameters
selfthis object
widgetwidget
responseresponse
Returns
none

Definition at line 1589 of file grid.py.

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

◆ __output_png_cb()

def grid.MainWindow.__output_png_cb (   self,
  widget 
)
private

Output PNG Callback.

Parameters
selfthis object
widgetwidget
Returns
none

Definition at line 1576 of file grid.py.

References grid.MainWindow.__window.

◆ __set_bigger_cb()

def grid.MainWindow.__set_bigger_cb (   self,
  widget 
)
private

Set Bigger Callback.

Parameters
selfthis object
widgetwidget
Returns
none

Definition at line 1569 of file grid.py.

References grid.MainWindow.__render.

◆ __set_smaller_cb()

def grid.MainWindow.__set_smaller_cb (   self,
  widget 
)
private

Set Smaller Callback.

Parameters
selfthis object
widgetwidget
Returns
none

Definition at line 1562 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 1533 of file grid.py.

Member Data Documentation

◆ __dialog

grid.MainWindow.__dialog
private

dialog

Definition at line 1584 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 1540 of file grid.py.

Referenced by grid.MainWindow.__output_png_cb().


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