A Discrete-Event Network Simulator
API
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 1535 of file grid.py.

Constructor & Destructor Documentation

◆ __init__()

def grid.MainWindow.__init__ (   self)

Initializer.

Parameters
selfthis object
Returns
none

Definition at line 1542 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 1604 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 1591 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 1584 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 1577 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 1548 of file grid.py.

Member Data Documentation

◆ __dialog

grid.MainWindow.__dialog
private

dialog

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

Referenced by grid.MainWindow.__output_png_cb().


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