GUIToolkitWML

From Wesnoth

THIS PAGE IS AUTOMATICALLY GENERATED, DO NOT MODIFY DIRECTLY !!!

Contents

GUI

The gui class contains the definitions of all widgets and windows used in the game. This can be seen as a skin and it allows the user to define the visual aspect of the various items. The visual aspect can be determined depending on the size of the game window.

Widgets have a definition and an instance, the definition contains the general info/looks of a widget and the instance the actual looks. Eg the where the button text is placed is the same for every button, but the text of every button might differ.

The default gui has the id default and must exist, in the default gui there must a definition of every widget with the id default and every window needs to be defined. If the definition of a widget with a certain id doesn't exist it will fall back to default in the current gui, if it's not defined there either it will fall back to the default widget in the default theme. That way it's possible to slowly create your own gui and test it.

The gui has the following data:

key type default description
id string mandatory Unique id for this gui (theme).
description t_string mandatory Unique translatable name for this gui.
widget_definitions section mandatory The defintions of all widgets.
window section mandatory The defintions of all windows.
settings section mandatory The settings for the gui.

List of available widgets:

Section description
button_definition A push button.
menubar_definition A menubar which is used in menus and the tabbar in a tabcontrol.
label_definition A label.
listbox_definition A listbox.
panel_definition A panel.
slider_definition A slider.
spacer_definition A spacer.
text_box_definition A single line text box.
toggle_button_definition A kind of button with two 'states' normal and selected. This is a more generic widget which is used for eg checkboxes and radioboxes.
toggle_panel_definition Like a toggle button but then as panel so can hold multiple items in a grid.
tooltip_definition A small tooltip with help.
vertical_scrollbar_definition A vertical scrollbar.
window_definition A window.

List of available windows:

Section description
addon_connect The dialog to connect to the addon server and maintain locally installed addons.
language_selection The dialog to select the primairy language.

A setting section has the following variables:

key type default description
popup_show_delay unsigned 0 The time it take before the popup shows if the mouse moves over the widget. 0 means show directly.
popup_show_time unsigned 0 The time a shown popup remains visible. 0 means until the mouse leaves the widget.
help_show_time unsigned 0 The time a shown help remains visible. 0 means until the mouse leaves the widget.
double_click_time unsigned mandatory The time between two clicks to still be a double click.

Widget defintion

Every widget has some parts in common, first of all every definition has the following fields.

key type default description
id string mandatory Unique id for this gui (theme).
description t_string mandatory Unique translatable name for this gui.
resolution section mandatory The definitions of the widget in various resolutions.

Resolution

Depending on the resolution a widget can look different. Resolutions are evaluated in order of appearance. The window_width and window_height are the upper limit this resolution is valid for. When one of the sizes gets above the limit, the next resolution is selected. There's one special case where both values are 0. This resolution always matches. (Resolution definitions behind that one will never be picked.) This resolution can be used as upper limit or if there's only one resolution.

The default (and also minimum) size of a button is determined by two items, the wanted default size and the size needed for the text. The size of the text differs per used widget so needs to be determined per button.

Container widgets like panels and windows have other rules for their sizes. Their sizes are based on the size of their children (and the border they need themselves). It's wise to set all sizes to 0 for these kind of widgets.

key type d4���j+^f��-��u�A����Ȉ� �[<���='`��:E�O�����R� ,#��*���a�9���v,��

t�ئg4��NAf~�h�;� �ޔ5�h-��Tu穿^\���";cv*�'���6uW�%'��U�{�킻b�aK��P� � �,툍���GҨ�`�<+�*/�8̻&���h���U�|y|]|(�TE��@q�R�dR�X���C����5�B��AK ���z>���׵Ič^���T=�G��%�ps���PM�ɦ���nR�/c��`%�l�����cl�i�c��'܄_0����Y0w8Gr��-��I8�d���}5�S��P�Nc���������Y�A���={��xdl��"���̑LYepV�֩f��ݵ���� �]3�%��qM����bA#�2�ǭ��φ��^6"K:�3^��C�H�Er>�� �r@�^\(������Z����ƃ�J��!۲/"�����JFr�*�^>uW�� ��6�9F��9Ou��C��^�w.W���Ģ�A���>j�ZZ��nkK��y�-&M<k"���L�3)y�K�6��d̽E �ӌ�Z������v_S� �^$�wV�S$�;r�?Ȋ6�$�yԆ������:��X�TZ$�����^�����w�����1�h����i�����X��k_��T���H��V��+���;�1���ӊ�N�X;"��Pn�e�ޟ�9&���f�V�X��U?���|]O�G�o�J��� �g�6Jz'gs�՛��K!��U1f��2U����������� �H،��$� ���>�2���OYK�����̻%�fU|B�UAќ@��|����eí�ʗ��H��*��@ʼ�>Eb��L\Q�,��@����^�a��J{�'"Op��dVh��k��cI��p�už��!�ݯ���Y�e��7L�zE0��j��ڲ�`� ]MN��f)���^�e�w����:<R�1��r��ǃ�`'��P!�pK���}���|�%�e�5��5�+�eЋ��;�j�E��:x|���$�/��j����������W��d��R�"�M[p'��,�26u=�WFSώ+��m�f>�����x���<��|vE�>�y^G�ܼ0�����Fv����r�fܩ�s�����}�� -y1�z������iڔ���o�����9�\W�AFn/������j��;�C��Fŋ��a"�)�{P�=�w��h�W�,X:%���� ���+s�̃?���A.���k'����v��:����yQ�?w�Y7�q���u�����>����Y�qy��/ᝆe����G�o �G�-�k��� �o����� ��v��JQ���u��ny���1|��_�8�F��'���oq����r|U�]�X�7H�æ����I�#�U1�� N$9��ʽKRF}�j�Б�$B���C���Ɂ�gا�c�� 8��d���`ߖe�����/0s}�7�x*@ѯ9���{j��Eu���X���w$.��/��S���$w�����*Ge��-���!�;������I݅�Է��L�\����:�Q�9�;���^-���v�^��6�b��8+ᤫ�-��I�`�J����������*�.�v2p(�2�l�"{/���t�l�Tѧ� D�b��U��o��C6�������\x�\�G���O��t=�\d62�奱��ä���_������:� ��*5�������� ���� ]n8��!h�q�x6g2��,��������u������F�����aЀ܍�K/#D�A�T��2�ǖA�Z墄����'ZE���\�<�&�k��X>���Sñ���g�.��l��b�\��1�\�'���Eo�I����������IP��go��W#

�ql�^>G �PY������>�k�G����Z��j��a���V&�ޓ���;��H �K��|

�����3p��n�7 D��{&"~����Y)���T�0��;7�x���񆯔��ڸ���H�{=�%�h�r�3oG���#˿��c�p��an�C��-<����fa��L��n���Q*<�Z�|�t�-O��L��� �b���p�R�ב1|�������qr����۬w���w��d����C�����ur����ګPח�<|�����RÈ���~���,���n��-�k��G��a��[E��z��ZP8�aL$��;�\�e$#Be٪)�8I�u�����~�+�x��p��������*bA��o��.1;�1+bQ�����155V1�F��$0���=K�*�y�=�́,X���v,>~.R�j=(�]p���� �u�[q��1!Z�4�ALxS��ρ[��j�ʱ!}X�.�:��F_����Y��Y�����7*�J�wI��e��&L@�}���EFZ��S�sx���o�����)�Ż6c�X�J�i2�����In{�Ŗ�@�*i�����-G���JQu���Q)λ/���Fu�"$\&~G�:�z����p��4��3���l��i {���$A�륛�6*��M&��3t�3��)����]\`�XT�<��4Hx����j;PY�#�\At�*]ޓM�5�����ő���6%�����FlXKC����nu�v��I�8l���'�Xc��}��jT����T���/Y�ߓzC�!P��Fl}��p�)�~�P�a�D�~9� x������E6]����R�ƌ]4v��ҁ��!/,��l\�^1�ϛ��T�TpU�<Zo2�0}��d����������3g��gO7�(P|�i��O��_R�ꅄ�z��-���ĕʿ�,�}���{�/��AZ���̰��E��+�(%�\�}�A#���VL�S�ub�K��x=�s��]n�^��M�Fڡ>);!0�R�sWR��5�=��ZH�۾��'��3�t�c�-H�`Tq�~`�?���䜻3��yvh����˾o�i��o#0�zٿK�'���=���~;п��$(�6��̡<�������j˳ Q��܌���t��Qd��>��7����������%���3ШY/�¨�� ��q�蓫ޑ�hL�)�������XQh0��r�E�8I���� ����F�@�ɏfT)a���ɲ�k]Hy�XrV���~�yd��7pqx��S?��j!�q�Ќ��q�&��e��->��[*�Q|�����6����zc�y"�|�R��Ŭ�a��$ U�o$�N�;"^�=�?�-b�E��1�����䂈��:�V|������:z���1�Rq�Z�D�ۚ�d���`Q��Y�K�:�2����@����\��m� �k�G��u�3c֘�����Xa*\���l��_���x��T!p�r��9rh?��P_�1�H�o�E7B�יJ͙B�6�|�'��ƩC��K�0Ȫ����3�7��hg�o�ޅ��N�"����dq���\F� �1@w��(����(q�����evߠ�����'&IQ3�4E�e��*��C�G�{��RA��爤in__C�9t7�'��@����� h9�݁����9_��>_�qTN/H1g����m���������Y���I�!+z~�� �v�|en��7����6Wi�����U�Rn����<����V��I�iEy/ �G;�&�����d:���{4]S��#w���f`�/�o�?��������6�����q�����*��{� Z���6��)����\����w�����c�k��>k����]QC�P�;�'�c���VQ���zڰjY�m��i���~v�U�]����� �M�BObp���tOW��� Gq`U�w�jgƣ��^�۸d?�B��uhU�c� �k�s�6�^��S��MV���sD]���6�����:t���N(缜�B�������,�iA��g����!@�+@�KqZi1��# �is�v{����>�� "s�Ʒ�<_L��.���1.r�Ì�V�Kأ1`�����U_������u����G��0:[�,��ɑ$�����I�}��`Y�������[ڟ���l�d{�ޫ.�H��t�w��ٴ�үz��p���H�S�����F��N���HNqO��˲�t��$��c������ �

;��2��� 0��g��zc�y�ܲ����^��8=2��Yh���^O��2(�NᔗS��5`���p�Z����e�/��)3���f�!�?�?�:�?Ӫ��%D�ɍg�e�,�#�2�q�&. ~���Hq���T�R�0j*����3��?�P)����ح�YG^��5�������+��}��M��������G�X��'�\y��x��^� ����0���?�d�u�U�ɷ�����

U�M6�L����B'�Y�K��w&r�۽��T����:J�èq�(�����d�f��e�����w��k��&�Eb��j��2�*�?E���h�����HB������0�� ��^���Av��� �hk�p����#a���჏���d�EŭiB& �� y��U�� 4��!��o!����L�����oG�-��@��/}�51�����CޑEL�~ޣ��̵0j[�`� r@���qc?� ���"��uJ����,��w��B�p)Cg��1��p��@/�x/�b�n�NH5�'䖈�㎑�I�2��F�Rv���t�?���Rºh�j����D'�� �t��M3z���:a��mgNR���uUٔ�1՘�%qt�F��%������[�ڱ�{�=$��"���/$}��I���N��N��c�^֍�u��]���o�"" >���N}́���3C�LZ����t��B���hP�w�jP�K�3z��x@�_b����1��2m�dUu�T��9H9�Ci-I���~СMӆ�������"�� 8�EJ�p�X� m"��������O��G��������$��'S8��Y�������* �)��:-���b����nL^B�A��v�����R�D*�"$��\�e���p�㽼�8=��X]�%�ӂ���B�QMi*�C�0q�����~�!�����\�EŅ����T0�S��5�/!�R�����Á$���_���5�ν�|��@�?�3Bg���f��;^��������iX�d�g����5��0��Λ��{� ����t� OzOB�̀���-6"`�D�eK��ʀzɑb&���.��Љ��]:$��8�/<!��>�Y$擺)��Ύ��� �O)�9�A8���w�)��Ua��6�2��S�C�%}P�VC�{��3�Ƚ�����sۙi3굸 ���l{�ǹ�9��`3��|ϝ����ev�Y�S���Z~�Îf���ёKZ^�18������UY��+>U*Ԉ?����4Y�ϣ[`�'q��qq�W��������ǎv� �<,�1�é�jpU���@��-lƬۤa��[���D�����MH�_�A�00����b��l���Xx��%�-=�K�1>�܇�r� ��1���l:���8L C���>��"�>��@{ۍ�o�Cl�F�2T����@��M��5��7������T���k�TH��t������N��&��"��hy0-ļ�W~wL�b��֘;��������v�6�j�ÿ��n�Q�~�=v)5���,:.=dm�6��I��߫�������Sh����p���cQQ��L$��o����ѻ�CL�XeU�g=�a�lMvɤ��"��9 ��ꆴ�.������:�A�

  1. ���=����g�4���Uv��8��o/�6Q��L�������9ʶ����%/����K�b���$�LE2q{�]�I!��������re�����)y�7��=_!���"�=ʭ5J���ִ�x�/��,�a���ӳ�7��QE��W�6M�~���h�P�,��,R�'�q�~�7���9��{��ɿ��{��!5����j��Gd����������
  • j�6����A����z�E�L��]�!�3:�TFS1� �-?h��wٽ6�'������5�)�������{n|��.eg��������'��'�Lʴs��{$I���č 9��C�q-����]����7��I�$u]�Q`/,�:m���p�����%����aD;⸙���b0L:+���l����q����I�Sv!k:q�ЅM���}-9�I�OU�F�

9�<����K��2�����R\=�^�.�W��Ju�Ý�G���c�����x"����'d� �V�����v6;�����G1p�P���#���q��"����P��,�z��R�Spr�<�<�����_�m_D�V�u2b|���M��3~8����#��,��5�|��w��U��[�O�K��7����v�c ��~����د|���ư7Im> d����������������$�����܊�,*�z��>"�,�E?C��>� ��� VEG�pT���<T���� MR�kD,x��� ��zق���������f������*L��I3�#��;� 8��V��wn����uɒ]��+��@�����7��]�i�둙>��=���_z�98���8��H�u���;æ��H���zb���,|�$���� ږ�o������ ��������p��$�S|�ɾ7ë�_c��f`�<KZi��A�ᓰ�SL�ȋ���c���~�Ԝ��!��xy��U< w �C�p��� -zp��>��u �פ��< �qzK�њ�����Իa�w��� ��`�*�n�(��������ؑM�=D:�z�,擖���o����7���a����Q�ؿkSo�N���_��1w�<�1�l��tZU�h�}�[���]�ѓ����!��Dh{\��3��r�k���v�M.͊i���&��r��vL,!�B�U����:л-޳i�{͂��ȟ;y�M?�9�X/w�d'�>?�������g�\���@y�JDQ�����q���9�?�ȃ��V#�0C��A�ّk�I^�n(��K��DFm�G�+Y��y�kA�ߤ��D�<o�0&*�Z��/Q���u�u�H}7�T���׮��*Hp��l���WoH�D��T�͟���=���x��S�?�?z!}20\sL��T����x�����k!�BYO�'�MNK�����!�+[9N�k)�����j{�c�(��/p�ʦ��zfY ����Ld�q%�v5S��gZ<����k>g����¿�����zoF;~�7��֪�=�$E��=���?��] ������Md�Yj���j�V�ن�=���'�'��Y��`2Aꪙ�%[�����p �Ɍ����S�V�lr}�ٹ��]���������_��d���B���I�w�p���#1y����E�|p������t2O�T:!�^����B/6\�yr�����D���k�i5�$�^����6'����f�q�+8�LW�����v�䦫�8���o�.��Uٝ���c ݾ��ٞ����0� �H�K������ ���2����?��42=���k��� q��`H��"J�n߇ׂ�o���޺ ��;��Jv��F���5���*�M��fH%��xȖk��Tb�6j�k��B��x�K��� �!�����2��N���T(���xf���\�r>�S�f�����7U��������UXF��o��n��О-hjJ�}hz��Y@7/g��Y0V�|e�i�%�������IN/��KJ���O%��R��N�����;�\���N1 IVO��d�� ����>37b�z�:Մ�WA:G����mj���\L#2Q�x��?��ޠ,��/RC�<�%���k�0�p��N���=�>�4��i�� y�$�'�zʩG����;F��ܜD��P�`>��� pP��_���k}��G��»5��}��1�~�HQ2j3�'�P� >zA!5�Rʡzhv���e�pϗ�FO� A�&禓�L9���a�%�%ً �c ��f[�_���c�^��!�����g=}����:܍q��k�kYs���W����l���K��\8�l4�h{˹���J6j]�$�ǒ��c���<T���rr+�6���Rxz�(���cZ+�2ta!T����2�����ȯ�3�Ҵ*�vT�+�M�gD��"��r0��Fa��2Y˲V0�H>�xd���f�E�M������ m�x\IM���q �g'���8�����Cs������OE ��`�g�H�m����m�]��"���U*?���C?85��\��l��5��g�ɫ���쁑!�_ҧL���.�D�E+��uc�ܜ���\���������>aÜV y���ܣ�M�3�.�c��`^�Rq�*�A}����zݭ�6 ������A8������_�ﷂ 2�#WOw��<qa���vۚ@�2��y>���؎܂�e�%4e^,*�f�u��"QSܷ�)�����A��=�����\�(|bP�r�‰,���� �,��X��}�+��K�ps,m+HZ*���!� ��E��E:q�OpĨ$FW�›�.AgL/���X��/��D�_�&�������ac�.}�-�FO���'ʮz�q�'�<k�������l�[��e�yN���y�&���;*E�%*�)�������0���?4ُ�l����������g}�J@��ys�T����7���f[�~�3�`��49k ?�W�>Qd��2���Bf�kk��?��G���~�[��F�4�����r�l��P�=Yw���`nP��ZQ������Г����V���S�z��`KjY>z�}������b�"7؇�y��e�O�*}���m"�o�z�%%g9����#@�>��:�u��=�Y.J����XΙ�V�'�����H�����H��l�+�z���Į�!�إ�"v�����2�#���m�5��� @w�[}�@� ����������u��2%zL�}�]F�����)��0�EU?����D�����]VT�I'�N���()���U�dF-W�j�!�xz_q�\+�_g���2�P�'��uX5�� ���<������bz,�7�� �(�Qњ���X������\���ϳ)��y�_h�E+~�="����%M����x�sR��� ��b�'���m[�J��ҚѤ�E�nƓ���B)�����k��7��H�"��V����O���k�pvZ����v��&W�r�5��p(]C����C1�D����r�F��,� �� �� c:�<�%�����z��|�bD��]�S}��g h#M�GV�@ ��I� ��c���� ^�':�**��a�qbNHCR���6�h����,���:��0�Tp#��b�����N4����:��@k4�'x�I�=�F�Ϋ�Ch:y;��=-�GV_&*���vAVh侮����{�p����b��Bxp$�����G߷�a#-��?9K���N�6�� �rNk��t(zpv��5��\ԢCxt��P�'p�e1���Y��������{�e�f��OC*�5��� ��L��8%���������ߝ(��Ș��U����D�d"��<S�\,����B]�����pb�M�,���A���nRQ�B��=١�&-��"f����?����w�-:�,_^h�&��ò �5C��;��i��}3�ptg�R�T�Z�<���Ҧ��t�H&(ݶ�X���N�P�m�֍5';��E�{MY��j�i{�&H����B7�q�B�1�����I0›3��B�s����4O/[ƫ'|�Y���Jek����T���p����t s2�3�9V�UZ4�O�%��1�����(� BU�����������U�3J�"�����&E���_�������*"R�����j��]�����W�š����Q��%�b䮎��̟I���̫�:�i���Y������#χ����_eC�E��-N�M(������I�0h�2}�l���c�.j�j���m�v�Cbl�t� ���i��2�[�����I�=��g�sA<���E�"�������9�g�l�Q�>B���+��g�ֶ�(Q?�?~��ꢴ��p.��\d�5���G�Z_��<[m�I��� (4������@�(��_�5J�L���P��\��E�"@4���uj�`Ba��o.W��sv���t�3)�(DϢDx�}�������j����r�hX����@�,Zs.�����s|6�\.�!*���9�����b�W����U��\K&c:>A�'E������#���z.�v�,�<T=�l��� �!�%hv�>�!T�5���I���{[����|?91�b�yW�)J5�ke�$������:�/������?nC���*S��0$��r���q��i��(VɚQw�V�8��*�yY���[�͆I��氓���Y�����Qܬ2���(`lT���aY���<A�~��detA����Q�r�^�7�T����faՠ��;ƈ޷��C��ܦ �f��Eb~$(B���x�f�}��ir��x��tԕ)�����C��Ħdj�v�v'�KkY�ͤ;`�z�Vdq���%����sE�gK1�h-#R%�����^���� ֶ�N?���Cw�C��ӣ�CEx����6����I��hɭ���23�B�QA�޲ �������z��������*�3�Htw�\���~`j11�}�q���Ķ���ش��ȺCl��Ԝ�ꐤ5��;�p��8$�NWI9u�9��ఆ'"9���rU\�/d=��[��l�_�_�b+{����o%֧�� �k��t�/o�|�2"8CK����/��g����Գ�|1�y��t�=/�.tJ}�|����ͼ�K >�z�8�#ab�����L���8�O�Y����j��mK�O&�� uy��!��˫V��\�N%�l�(Л1T�������������l�$��C���y���ԩ��~�;�i����?�g:+����T5�����l��g#a����G�W^e��������d\u `;������57���Y_}�����Q�?c���n����J����2�F�q��@'p�0��l�j��M$3���epl��������}�����A�MTц퓵V5Β��� Z$"�8�p���y{�,k���E�%b-�[��|C��{�G��O䇰�!&�Hǚ�A�J23�M3>`<�Ui�����G���i L,�����<i����í���Pʺ�+dž1p���+��7��O��4<:�2t�������ޙ�8�7&�e>~��3�3�.��x!M�������A�E{���t�k���yh��{ ���k=�k[6:��4��(������6��� ��2�ބh���!z��־��z��fa�J�#��!�V%|����لH���; �^�C�#�alM���+��ToG�U'��T� ��_���Va�^.�_A�g��Д2���l��F�x�V����Z����0'������F������C�X"M�>���S�҈�x�� ֝�����e��$�Q��q,|�C�%a���� :�R��g��K�. ���Z�� A'ԩ��sy����=��=�1,������[���ą�e$���FƺWa#<A�]���|3՝��N|xf�y��� �$��Y�dgnݘt�N_�#�%GOx�B��w꫻К��q�0y���l�H���������@PI2��І�Y6oc�TH�JJv�=;y��̵9gZ�s�����A�) ��z�K�2j|�pW��k�P��8%fW�wȶӖ�Z��B��\�J�9MS*ɰP���=�Ϝ�3)3��y���� �sne$2'k��s�0�S�KQ�f�~ѫ��H�����BG��/��d��GZp�������p�i�[:~���umBg����Sε���F���:�I����%����38�*�����Aa�Jv��A����"f BV`#�&��-�Q���� V��j����+`��&5�t��7. ��\���⢑��ؓŃ�\�t5V51�u������#������h����>���+]~��f�Q<�)X����6�Qv���FpP�������6�)ҏ��U��O<� ��ő~~2���!����!NT���b~��= ks�b���_�O�s��d����^8*��A��FM���Vr@��9ԗ?s�Yo�W�s�X����gf4y����,���T�u�m;��{�1�cp�y�A�Ȯ���.��}����8Wm���}A���4��l&c��]2n�55���dqO�xo'68�zp�q����� 8�l����%��b���3��9������9����~��:�]�)�e���zf(`;TPC�YW�Y�_+��_��]��Hn� P/� |iC|]��X���i� �ؤ/i( ����fH�&�/D�iV����t��W�����gHO��/;H5���&��������Q%�O�\<�o� ~izc�&�ߩ��\ߍjs�' ��4{���/t���㿫r��^��Fl}ھ�8�����+�����i�*�����a+�&�7����k׺�y�`&a�@���OL �l�ܽP�s�3���?��c�~Q-⸁��E��k���J�E��֥����3岛��(8x����qBH���s����`.x�31��D�����{��������*"*���Å�{�L��!/D�v���k�e��=�����%B����)��@�.|ܵ�^�'��U�������t��P�Sz2�P�p%$���1 D3��=�#P���kJ"g$���}6���'��L��"�������(���ac7*���%���&�u��*�g��A���m���&�3�2w�{Pj4-� L‡��v{P.���;S�ScBGo��4�k���A�b��ԝM��㧸U�R�? Q^|��4C���(� ����ŷy��D����1�U'��h�+�<��������p��m^�e��/�.�s���Te���E��]Ⱥ�Ho�v�*�A��0R�c����"rXe�׽_�)���0����1�=��@�0f?��N��ZP��?��3�O���T�9����zO�\�p�̴b'�4=M����r.Yܐ���Yu; J3������ y�W8T�\f@�o���f]�N>�.V��z2\���u �=ig�c����O����Ф�d�3������}�(b�5=��EBy�����T�÷���P��?$n�N�����Ǒ�d�F�ĸ������ov���O:�����i���Z�s���$SZ��!x�^��C�.N])�F� ��?y!8�R���+�R��-��a2�7�E���qd�����i\ǭ�(r����Kx'^�K;�x�>�Y�����eU�pi�%������vi���LX��%���y�e:<��� �Ҽ��#gŊ����X�:~ǁ:��u�/>��|<W;�.d�����丯7淋�H�L;���W����@�S����;�3��� �B�e ��ߩRȕ���~����}8z�X{����S�u��n+�˷��E���3܈�����3���E�=�#�iӸ��Y��l�"7+&�~8|a�Y�:����{?Wa���X���5����}��ϻJ�y��j;˽��1����/��D �K��C��v+�t˭����񐜯��,L+�=�z�<;��R�l!�!4���om ����oj�%�[>,����'f���4��1��\�(��t;���A=���JVa�8�P2��#����5����.tZ]^-J��ϋ=h�e겉����Xĸ�=�hx���S5攭�a�t�g���B����Ja��L�E߈����}un���4��: ��g���VT�5�"X��C��=�NJ�V�ͷ�������M&�\�u��F���zaý�؆I��I����9S�Y�dl�ec<��)�ܘ�dP��1��paź���)�b�p�7���p ���o�/��ĦMß�(ر�(9�-�=�J�p�'�B�� r���8���5��O�����0��� �?u� ��Ҹ��&��L9�S���&������D��j���E��Y�"l�'+��6����������w�z��A���1�E�������p��?����뼔��J+�j8zѴ��ԫ�l��ܺ&��� ��Ҍ�Q����w�.��E�z�^�B���^� �l ���$U2��nW��v���8���<����T�)}�R��d״�]�=������������Ċ}S|��`Κt�%N�:�ǚ��W�4/+���(H�P�UW���7X���Y(n����x� 7�v݃�9{7�s�-V�ft��O#|���8�!/PH@|mڙ��-�@��*�%�yg8"����1�=Y�_LV N���/Xw�噶a鬿#=LQ��M�HJ���t��D�{�cd��gѨ�v3�����(�i��={����*����<4�Cu����d�n�~�p]��_�� �1�(�p� � 8��(xC��M��Q�����*��S�6!��sS�����+\�7�T���BDQ�@�#@9A�03���_����d:�a���O�k�����F!�a��1⍄/���s��i����>��}��x��FflЪT����π�,'�0,A�GkT���SfT�݌�޽�*�Ө�cs�V�L��t�tRUo@BY���<)�䱭������y�8�-���K�r��{�a<p&�\�|8��7t�Õ�T��O��`��Z�������T5*�4�pQF�j4~|f����9ĝ������k��<���/v����`'j�?��h,��Ÿ0U��IZ`g�*��_��u��ܖ��Ҽ��?���E��"��ܯ�����〈>�:�w�ƙ�@�^i�/�y���L��+�M��8��=+Yυ�q��E�&*�!P�f�&��A�&k��&xT�j]�9�W�/�\>ڰG���?.O���&P��ç���� ұ�� �:��N����q���Ǭ��@��0�1��7qz��tk?p�2nh����&�D(���P����G=t���Ij�:������������*ͅ� Q��&�m������ܮة'O����Úi����Òj�������0��������N�����#���q�|"�AJB��63�]{��G�^���aL�`,W��!�ǘ���k�Vw��J���c+5(���?E�*�7��k�����b[{�?-��ԕ�y6^4aq���X1�� �v0O�|Y�����`�I\�g��ʇ�V���w��� d�LP�/��"�9蚹��.���$Y��a@8��Ch��Nh�A�������R}�m�|,r�o��f��Vt�� ��S��q��������l(%���fh�����8v�ԝW��Z�p3���H]��Ռa��~�����+g���s�D�h4�߇��*A�%b���X6x �J��f&�!(��bS�-9�a;f���q��Wf�?�Qm��x���[�n�lS�7�kHaO6++�x?��������D���ق�W�AAjם3�k$�������t���Ƞ*��/��>�8$t��J8�Rq΃�*&p�-�~�HcW=|[!�$�FBCɩ ��L��%�j�(VZ����s��ڄ�g" ��+ ������� ֳ.�.��~�#��.#�еM��h���m:-���=o��cd��@0/<���E�tC���%��_��}�?No��f�jp��׆��D�*��0��T�j����!q�d��r�����K8���*���ã��c�k�F��q��5�햦�e��Ah��H��m�����L�;�Uh� ��Dɠ ���U�����.���į-.cؕ�1��l�[��O�+^���h>�E��/x�[e � v��0ks�I����Z��*�g�a�%C�"�G��z¶IJ��7Uz�����g��I�ȻO��5ȏ�E��n��~��/��а�ORN<�> ��gU�+��d���U���Tp �*�q�}��f�[��_��c��_O�,��.�S�P�a"<?b�R��j���4��т3]�Wt��L�ϔ���rS'Ğ�ߌ�P�����Ĩ.?����H궧/_���S�X��i+DL��|�Ϻ2�[����Uj2��{���S�H)u��6C���X�����m���c��Q�e*�#����U@���E�t�e�y���}��n27����k"��+ &f���j��4�Bl��[�F�#%�y��l�Q�!��Ծ��5��Pe"*����'����b��2�JH�)^�� �E�ӌ��0���k~d�A�� g��6�XP���e�;��ztb7@��#��,p1��8�k���/�<c;oF9D���6�I~�G"t�w�3��U#���\�����x� d;+�h������߲e/f��y�����]���9�+�Rw�� S~h��Čz"����k���dDH,rlӗ�e�b�c�?���!����-�Lr����!�q�?�u�*k���*����瀕R�@���������/�'Y�� ��1�Xi�X�K�� �a�R��Ө���D�o@�k�7_C����H�N�u?�'��-�*9��xL�g�̓�S���2���x���%�r��.�Ǝ��$���K�t�agx7qm�ጚY�-�,&��I���}��Cl�0��R6s4��%?��)�oZ�����U�s���ͤ ���Q�0 Ҍ1���j�J��;x��_�^!�GF{��ʴ48���%��j�ǔ-���:X-��o��Bi�6�B�_NT�ؓ��bٞ���3�h#%�t�>����6����s��������H��%@g-+��N����9�S�plQ�a�=ޣ�Qr4Z���w�T�!�~�y��q����"���0_ڧyΨ�㝧��~�[�珕n<�`,&�����.Dd���|�� ŋ)��l=JU�W'5�*l���?��4���#�q����J'�}�����#<�6z��8 &C+����<�W=��)�/q��ʴ���������e� MҔ=u:R�bPt�s��d�n8��N)����+���A��[�Cn�ώ��������ɑ����F��������F+��R�)�O���G�0��=�X3��ȷI��˼��]��K]p���7�8W=�o4��<��a�US� �x3��@�6�_�1 SNބP��4�����$�����iW����0�ic����JG%�N�'��a���o� ����r�����A�<d����Kr���g֬x܍vF�I�'�rj�t-�7o�W�lp .�H��1l���N���hL�-���M�z#��œ���Z�b��6pنN�zr���u�����{FA��茈ݷ���A���NBe���|��(���\s'i����=��bS����%������O����Š���Us-�I=Y-p���f2Z�r�z�?�*�T�e�X��y�80!�Q��L���s�̮�`Y���Dh��df�x��a:�� �QW��3J�|<��2��RΣY�_���P���t������>u޴fixed_row_size

bool true If not all rows can be shown this value becomes important. If fixed size we always show X rows and no half rows are shown. This doesn't mean the rows need to be fixed size eg the addon dialog might get the option to show verbose info in the same listbox in that case it's still allowed to set the value.


Inside the list section there are only the following widgets allowed

  • grid (to nest)
  • selectable widgets which are
    • toggle_button
    • toggle_panel

Menubar

A menu bar used for menus and tab controls.

List with the listbox specific variables:

key type default description
must_have_one_item_selected bool false Does the menu always have one item selected. This makes sense for tabsheets but not for menus.
direction direction "" The direction of the menubar.

Panel

A panel is an item which can hold other items. The difference between a grid and a panel is that it's possible to define how a panel looks. A grid in an invisible container to just hold the items.

key type default description
grid section mandatory Defines the grid with the widgets to place on the panel.

Panel

A panel is an item which can hold other items. The difference between a grid and a panel is that it's possible to define how a panel looks. A grid in an invisible container to just hold the items.

key type default description
grid section mandatory Defines the grid with the widgets to place on the panel.
return_value int 0 The return value, see GUIToolkitWML#Button for more info.

Slider

key type default description
minimum_value unsigned 0 The width of the slider.
maximum_value unsigned 0 The height of the slider.
step_size unsigned 0 The height of the slider.
value unsigned 0 The height of the slider.
minimum_value_label t_string "" If the minimum value is choosen there might be the need for a special value (eg off). When this key has a value that value will be shown if the minimum is selected.
maximum_value_label t_string "" If the maximum value is choosen there might be the need for a special value (eg unlimited)). When this key has a value that value will be shown if the maximum is selected.

Spacer

A spacer is a dummy item to either fill in a widget since no empty items are allowed or to reserve a fixed space. If either the width or the height is not zero the spacer functions as a fixed size spacer.

key type default description
width unsigned 0 The width of the spacer.
height unsigned 0 The height of the spacer.

Text box

key type default description
label tstring "" The initial text of the text box.
history string "" The name of the history for the text box. A history saves the data entered in a text box between the games. With the up and down arrow it can be accessed. To create a new history item just add a new unique name for this field and the engine will handle the rest.

Toggle button

key type default description
icon f_string "" The name of the icon file to show.
return_value int 0 The return value, see GUIToolkitWML#Button for more info.

Vertical scrollbar

A vertical scrollbar has no special fields.

This page was last modified 16:42, 19 July 2008.