Mercurial > libervia-backend
comparison frontends/wix/main_window.py @ 81:104a815bb23f
Tarot game: first draft
- wix: first draft of cards window
- shell script to split cards from Tarot game found on wikimedia commons
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 18 Apr 2010 15:47:10 +1000 |
parents | 9681f18d06bd |
children | fc7583282d40 |
comparison
equal
deleted
inserted
replaced
80:9681f18d06bd | 81:104a815bb23f |
---|---|
24 from quick_frontend.quick_app import QuickApp | 24 from quick_frontend.quick_app import QuickApp |
25 from quick_frontend.quick_contact_management import QuickContactManagement | 25 from quick_frontend.quick_contact_management import QuickContactManagement |
26 import wx | 26 import wx |
27 from contact_list import ContactList | 27 from contact_list import ContactList |
28 from chat import Chat | 28 from chat import Chat |
29 from card_game import CardGame | |
29 from param import Param | 30 from param import Param |
30 from form import Form | 31 from form import Form |
31 from gateways import GatewaysManager | 32 from gateways import GatewaysManager |
32 from profile import Profile | 33 from profile import Profile |
33 from profile_manager import ProfileManager | 34 from profile_manager import ProfileManager |
107 | 108 |
108 #profile panel | 109 #profile panel |
109 self.profile_pan = ProfileManager(self) | 110 self.profile_pan = ProfileManager(self) |
110 #self.profile_pan.Hide() #gof: | 111 #self.profile_pan.Hide() #gof: |
111 self.sizer.Add(self.profile_pan, 1, flag=wx.EXPAND) | 112 self.sizer.Add(self.profile_pan, 1, flag=wx.EXPAND) |
112 | 113 |
114 Tarot = CardGame(self) | |
115 Tarot.Show()#gof: temp for test | |
116 | |
113 self.Show() | 117 self.Show() |
114 | 118 |
115 def plug_profile(self, profile_key='@DEFAULT@'): | 119 def plug_profile(self, profile_key='@DEFAULT@'): |
116 """Hide profile panel then plug profile""" | 120 """Hide profile panel then plug profile""" |
117 self.profile_pan.Hide() | 121 self.profile_pan.Hide() |