<?xml version="1.0"?>
<!-- generated by wxGlade 1.0.4 on Sun Mar 26 01:22:59 2023 -->
<application class="Hangman" encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" mark_blocks="1" name="Hangman" option="0" overwrite="0" path="./wxglade_out.py" source_extension=".cpp" top_window="View" use_gettext="0" use_new_namespace="1">
<object class="View" name="View" base="EditFrame">
<extracode>from pubsub import pub\nfrom hangman import dictionary, count_max, Env, initialize, interp\n\nmsg = {"lossmsg": 'あなたの負けです! 正解: \\n\\t{}',\n "playmsg": '当てる言葉 : \\n\\t {}',\n "successmsg": '正解!あなたの勝ちです。\\nおめでとう。'}\n\nclass Controller(object):\n def __init__(self):\n pub.subscribe(self.read, "Controller")\n def read(self, x, env):\n pub.sendMessage("Model.eval", x='y' if x == 'リセット' else 'n'\n if x == '終了' else x, env=env)\n\nclass Model(object):\n def __init__(self):\n pub.subscribe(self.eval, "Model")\n def eval(self, x, env):\n pub.sendMessage("View.SetProperties", env=interp(x, env))\n</extracode>
<size>400, 300</size>
<title>ハングマン</title>
<style>wxCAPTION|wxMINIMIZE_BOX|wxCLOSE_BOX|wxSYSTEM_MENU|wxCLIP_CHILDREN</style>
<object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxStaticBitmap" name="bitmap_1" base="EditStaticBitmap">
<bitmap>img/gallows1.png</bitmap>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxGridSizer" name="grid_sizer_1" base="EditGridSizer">
<rows>7</rows>
<cols>4</cols>
<vgap>0</vgap>
<hgap>0</hgap>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="A" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.A.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>A</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="B" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.B.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>B</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="C" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.C.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>C</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="D" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.D.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>D</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="E" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.E.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>E</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="F" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.F.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>F</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="G" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.G.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>G</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="H" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.H.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>H</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="I" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.I.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>I</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="J" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.J.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>J</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="K" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.K.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>K</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="L" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.L.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>L</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="M" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.M.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>M</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="N" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.N.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>N</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="O" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.O.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>O</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="P" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.P.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>P</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="Q" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.Q.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>Q</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="R" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.R.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>R</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="S" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.S.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>S</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="T" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.T.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>T</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="U" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.U.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>U</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="V" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.V.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>V</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="W" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.W.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>W</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="X" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.X.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>X</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="spacer" name="spacer" base="EditSpacer">
<width>50</width>
<height>28</height>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="Y" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.Y.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>Y</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="Z" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.Z.GetLabel(), env=self.env)</handler>
</events>
<size>50, 28</size>
<label>Z</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="spacer" name="spacer" base="EditSpacer">
<width>50</width>
<height>28</height>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxPanel" name="panel_1" base="EditPanel">
<background>#3299cc</background>
<object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxStaticText" name="label_1" base="EditStaticText">
<size>200, 100</size>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxALIGN_CENTER_VERTICAL</flag>
<object class="wxButton" name="Reset" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.Reset.GetLabel(), env=self.env)</handler>
</events>
<disabled>1</disabled>
<label>リセット</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxALIGN_CENTER_VERTICAL</flag>
<object class="wxButton" name="Quit" base="EditButton">
<events>
<handler event="EVT_BUTTON">lambda event: pub.sendMessage("Controller.read", x=self.Quit.GetLabel(), env=self.env)</handler>
</events>
<disabled>1</disabled>
<label>終了</label>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</application>