GUI.GUI Class Reference

The Client's Graphical User Interface (GUI) is managed here (PyGTK+2,0). More...

List of all members.

Public Member Functions

def __init__
 The constructor class.
def makeLabels
 Adds a number of labels to the widget table.
def makeEntries
 Adds a number of entries (textfields) to the widget table.
def makeButtons
 Add and display Connect and Send buttons.
def makeTextArea
 Add the chat text area.
def makeFrames
 Adds a little layout frames.
def startService
 Event function that's called when the client has clicked the connect button.
def sendMessage
 Event function that gets called when the client has clicked the send button.
def close_application
 Function that gets called when the GUI is exited.

Public Attributes

 messages
 window
 table
 hostText
 portText
 aliasText
 msgText
 textbuffer
 log


Detailed Description

The Client's Graphical User Interface (GUI) is managed here (PyGTK+2,0).

Definition at line 20 of file GUI.py.


Member Function Documentation

def GUI.GUI.__init__ (   self,
  msgObject 
)

The constructor class.

Definition at line 23 of file GUI.py.

def GUI.GUI.makeLabels (   self  ) 

Adds a number of labels to the widget table.

Definition at line 47 of file GUI.py.

def GUI.GUI.makeEntries (   self  ) 

Adds a number of entries (textfields) to the widget table.

Definition at line 56 of file GUI.py.

def GUI.GUI.makeButtons (   self  ) 

Add and display Connect and Send buttons.

Definition at line 78 of file GUI.py.

def GUI.GUI.makeTextArea (   self  ) 

Add the chat text area.

Definition at line 90 of file GUI.py.

def GUI.GUI.makeFrames (   self  ) 

Adds a little layout frames.

Definition at line 105 of file GUI.py.

def GUI.GUI.startService (   self,
  widget 
)

Event function that's called when the client has clicked the connect button.

Definition at line 119 of file GUI.py.

def GUI.GUI.sendMessage (   self,
  widget 
)

Event function that gets called when the client has clicked the send button.

Definition at line 131 of file GUI.py.

def GUI.GUI.close_application (   self,
  widget 
)

Function that gets called when the GUI is exited.

Definition at line 137 of file GUI.py.


Member Data Documentation

GUI.GUI.messages

Definition at line 24 of file GUI.py.

GUI.GUI.window

Definition at line 27 of file GUI.py.

GUI.GUI.table

Definition at line 34 of file GUI.py.

GUI.GUI.hostText

Definition at line 57 of file GUI.py.

GUI.GUI.portText

Definition at line 62 of file GUI.py.

GUI.GUI.aliasText

Definition at line 67 of file GUI.py.

GUI.GUI.msgText

Definition at line 72 of file GUI.py.

GUI.GUI.textbuffer

Definition at line 97 of file GUI.py.

GUI.GUI.log

Definition at line 98 of file GUI.py.


The documentation for this class was generated from the following file:
Generated on Mon Oct 8 05:43:00 2007 for Python Game and Chat Client by  doxygen 1.5.1