Logo Search packages:      
Sourcecode: gameclock version File versions  Download package

Classes | Public Member Functions | Public Attributes | Static Public Attributes

gtkui::GameclockUI Class Reference

List of all members.

Classes

class  ClockUI
class  MenuItemFactory

Public Member Functions

def __init__
def add_clock_widget
def end_turn
def handle_fullscreen
def handle_key_press
def handle_pause
def hilight
def main
def maybe_print
def quit
def refresh
def refresh_current
def remove_clock_widget
def setup_clocks
def start_game
def switch_clock

Public Attributes

 clock_table
 loop_timeout
 timeout_source
 turns
 vlayout
 window

Static Public Attributes

int clock_widget_cnt = 0
 cur_clock = None
 first_clock = None
 fullscreen = False
 game = None
int ms_loop_timeout = 50
int sec_loop_timeout = 200
int verbose = 0

Detailed Description

this class handles most of the UI and turned-based logic

It is not designed for UI-abstraction yet, but could be, if the
turn-based logic is ripped in a seperate class

Definition at line 11 of file gtkui.py.


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

Generated by  Doxygen 1.6.0   Back to index