A Discrete-Event Network Simulator
API
visualizer.higcontainer.HIGContainer Class Reference

HIGContainer class. More...

+ Inheritance diagram for visualizer.higcontainer.HIGContainer:
+ Collaboration diagram for visualizer.higcontainer.HIGContainer:

Public Member Functions

def __init__
 
def do_forall (self, internal, callback, data)
 For all function. More...
 
def do_get_property (self, pspec)
 Set property function. More...
 
def do_set_property (self, pspec, value)
 Set property function. More...
 
def do_size_allocate (self, allocation)
 Allocate size function. More...
 
def do_size_request (self, requisition)
 Size request function. More...
 

Static Public Attributes

tuple child_alloc = gtk.gdk.Rectangle()
 child allocation More...
 
tuple child_req = gtk.gdk.Rectangle(0, 0, *self.child.get_child_requisition())
 child request More...
 
tuple indent_req = gtk.gdk.Rectangle(0, 0, *self.__indent.get_child_requisition())
 child More...
 
tuple title_alloc = gtk.gdk.Rectangle()
 title allocation More...
 
tuple title_req = gtk.gdk.Rectangle(0, 0, *self.__title.get_child_requisition())
 title More...
 

Private Attributes

 __indent
 indent More...
 
 __title
 title More...
 
 __title_text
 title More...
 

Static Private Attributes

dictionary __gproperties__
 global properties More...
 
string __gtype_name__ = 'HIGContainer'
 global type name More...
 

Detailed Description

HIGContainer class.

Definition at line 11 of file higcontainer.py.

Constructor & Destructor Documentation

def visualizer.higcontainer.HIGContainer.__init__ (   self,
  title = None 
)
Initializer

@param self: this object
@param title: title

Definition at line 52 of file higcontainer.py.

Member Function Documentation

def visualizer.higcontainer.HIGContainer.do_forall (   self,
  internal,
  callback,
  data 
)

For all function.

Parameters
selfthis object
internalinternal
callbackcallback
datadata
Returns
none

Definition at line 118 of file higcontainer.py.

References visualizer.higcontainer.HIGContainer.__indent, and visualizer.higcontainer.HIGContainer.__title.

def visualizer.higcontainer.HIGContainer.do_get_property (   self,
  pspec 
)

Set property function.

Parameters
selfthis object
pspecinternal
Returns
title text

Definition at line 150 of file higcontainer.py.

References visualizer.higcontainer.HIGContainer.__title_text.

def visualizer.higcontainer.HIGContainer.do_set_property (   self,
  pspec,
  value 
)

Set property function.

Parameters
selfthis object
pspecinternal
valuecallback
Returns
AttributeError if unknown property

Definition at line 134 of file higcontainer.py.

References visualizer.higcontainer.HIGContainer.__title_text.

def visualizer.higcontainer.HIGContainer.do_size_allocate (   self,
  allocation 
)

Allocate size function.

Parameters
selfthis object
allocationallocation
Returns
none

Definition at line 87 of file higcontainer.py.

def visualizer.higcontainer.HIGContainer.do_size_request (   self,
  requisition 
)

Size request function.

Parameters
selfthis object
requisitionrequisition
Returns
none

Definition at line 69 of file higcontainer.py.

References max.

Member Data Documentation

visualizer.higcontainer.HIGContainer.__gproperties__
staticprivate
Initial value:
1 = {
2  'title': (str, 'Group Title', 'the group title',
3  '', gobject.PARAM_READWRITE|gobject.PARAM_CONSTRUCT),
4  }

global properties

Definition at line 47 of file higcontainer.py.

visualizer.higcontainer.HIGContainer.__gtype_name__ = 'HIGContainer'
staticprivate

global type name

Definition at line 44 of file higcontainer.py.

visualizer.higcontainer.HIGContainer.__indent
private

indent

Definition at line 61 of file higcontainer.py.

Referenced by visualizer.higcontainer.HIGContainer.do_forall().

visualizer.higcontainer.HIGContainer.__title
private

title

Definition at line 60 of file higcontainer.py.

Referenced by visualizer.higcontainer.HIGContainer.do_forall().

visualizer.higcontainer.HIGContainer.__title_text
private
visualizer.higcontainer.HIGContainer.child_alloc = gtk.gdk.Rectangle()
static

child allocation

Definition at line 111 of file higcontainer.py.

visualizer.higcontainer.HIGContainer.child_req = gtk.gdk.Rectangle(0, 0, *self.child.get_child_requisition())
static

child request

Definition at line 110 of file higcontainer.py.

visualizer.higcontainer.HIGContainer.indent_req = gtk.gdk.Rectangle(0, 0, *self.__indent.get_child_requisition())
static

child

indent request

Definition at line 109 of file higcontainer.py.

visualizer.higcontainer.HIGContainer.title_alloc = gtk.gdk.Rectangle()
static

title allocation

Definition at line 99 of file higcontainer.py.

visualizer.higcontainer.HIGContainer.title_req = gtk.gdk.Rectangle(0, 0, *self.__title.get_child_requisition())
static

title

title request

Definition at line 98 of file higcontainer.py.


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