comparison gtk-gui/gui.stetic @ 60:04c0f6a7625c

Re #60: Add UI to add/remove/edit weapons in GTK * Implement Remove button * Hack "code-behind" file again to make things work, until MD bug is fixed
author IBBoard <dev@ibboard.co.uk>
date Fri, 27 Aug 2010 14:44:48 +0000
parents 0c5fbb54bfb0
children e7ad676a7344
comparison
equal deleted inserted replaced
59:c3415c6df551 60:04c0f6a7625c
892 </packing> 892 </packing>
893 </child> 893 </child>
894 <child> 894 <child>
895 <widget class="Gtk.Button" id="bttnEditEquipment"> 895 <widget class="Gtk.Button" id="bttnEditEquipment">
896 <property name="MemberName" /> 896 <property name="MemberName" />
897 <property name="Sensitive">False</property>
897 <property name="CanFocus">True</property> 898 <property name="CanFocus">True</property>
898 <property name="Type">TextOnly</property> 899 <property name="Type">TextOnly</property>
899 <property name="Label" translatable="yes">Edit</property> 900 <property name="Label" translatable="yes">Edit</property>
900 <property name="UseUnderline">True</property> 901 <property name="UseUnderline">True</property>
901 </widget> 902 </widget>
907 </packing> 908 </packing>
908 </child> 909 </child>
909 <child> 910 <child>
910 <widget class="Gtk.Button" id="bttnReplaceEquipment"> 911 <widget class="Gtk.Button" id="bttnReplaceEquipment">
911 <property name="MemberName" /> 912 <property name="MemberName" />
913 <property name="Sensitive">False</property>
912 <property name="CanFocus">True</property> 914 <property name="CanFocus">True</property>
913 <property name="Type">TextOnly</property> 915 <property name="Type">TextOnly</property>
914 <property name="Label" translatable="yes">Replace</property> 916 <property name="Label" translatable="yes">Replace</property>
915 <property name="UseUnderline">True</property> 917 <property name="UseUnderline">True</property>
916 </widget> 918 </widget>
922 </packing> 924 </packing>
923 </child> 925 </child>
924 <child> 926 <child>
925 <widget class="Gtk.Button" id="bttnRemoveEquipment"> 927 <widget class="Gtk.Button" id="bttnRemoveEquipment">
926 <property name="MemberName" /> 928 <property name="MemberName" />
929 <property name="Sensitive">False</property>
927 <property name="CanFocus">True</property> 930 <property name="CanFocus">True</property>
928 <property name="Type">TextOnly</property> 931 <property name="Type">TextOnly</property>
929 <property name="Label" translatable="yes">Remove</property> 932 <property name="Label" translatable="yes">Remove</property>
930 <property name="UseUnderline">True</property> 933 <property name="UseUnderline">True</property>
934 <signal name="Clicked" handler="HandleRemoveButtonActivated" />
931 </widget> 935 </widget>
932 <packing> 936 <packing>
933 <property name="Position">3</property> 937 <property name="Position">3</property>
934 <property name="AutoSize">True</property> 938 <property name="AutoSize">True</property>
935 <property name="Expand">False</property> 939 <property name="Expand">False</property>
1115 <child> 1119 <child>
1116 <widget class="Gtk.RadioButton" id="rbEquipAll"> 1120 <widget class="Gtk.RadioButton" id="rbEquipAll">
1117 <property name="MemberName" /> 1121 <property name="MemberName" />
1118 <property name="CanFocus">True</property> 1122 <property name="CanFocus">True</property>
1119 <property name="Label" translatable="yes" /> 1123 <property name="Label" translatable="yes" />
1120 <property name="Active">True</property>
1121 <property name="DrawIndicator">True</property> 1124 <property name="DrawIndicator">True</property>
1122 <property name="HasLabel">True</property> 1125 <property name="HasLabel">True</property>
1123 <property name="UseUnderline">True</property> 1126 <property name="UseUnderline">True</property>
1124 <property name="Group">group1</property> 1127 <property name="Group">group1</property>
1125 </widget> 1128 </widget>