Tables_Demo to work with new Tables stuff. Find Tour tables better.
This commit is contained in:
parent
6f6d27d1fd
commit
94bdc43deb
|
@ -664,7 +664,7 @@ or None if we fail to get the info """
|
|||
def getTableTitleRe(type, table_name=None, tournament = None, table_number=None):
|
||||
"Returns string to search in windows titles"
|
||||
if type=="tour":
|
||||
return "%s.+Table.+%s" % (tournament, table_number)
|
||||
return "%s.+Table %s" % (tournament, table_number)
|
||||
else:
|
||||
return table_name
|
||||
|
||||
|
|
3
pyfpdb/Tables_Demo.py
Executable file → Normal file
3
pyfpdb/Tables_Demo.py
Executable file → Normal file
|
@ -103,9 +103,12 @@ if __name__=="__main__":
|
|||
table_kwargs = dict(table_name = table_name)
|
||||
|
||||
table = Tables.Table(config, "Full Tilt Poker", **table_kwargs)
|
||||
table.gdk_handle = gtk.gdk.window_foreign_new(table.number)
|
||||
print table
|
||||
|
||||
fake = fake_hud(table)
|
||||
fake.parent = fake
|
||||
|
||||
gobject.timeout_add(1000, table.check_game, fake)
|
||||
gobject.timeout_add(100, table.check_table, fake)
|
||||
print "calling main"
|
||||
|
|
Loading…
Reference in New Issue
Block a user