1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
wxFormBuilder - A Visual Dialog Editor for wxWidgets.
Copyright (C) 2005 José Antonio Hurtado
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Written by
José Antonio Hurtado - joseantonio.hurtado@gmail.com
Juan Antonio Ortega - jortegalalmolda@gmail.com
-->
<package name="Menu/Toolbar" lib="common" icon="menubar.xpm" desc="wxWidgets Menu and Toolbar Controls">
<objectinfo class="wxStatusBar" icon="statusbar.xpm" type="statusbar">
<inherits class="wxWindow"/>
<property name="name" type="text">m_statusBar</property>
<property name="fields" type="uint" help="Number of fields in the statusbar.">1</property>
<property name="style" type="bitlist">
<option name="wxSTB_SIZEGRIP" help="Displays a gripper at the right-hand side of the status bar which can be used to resize the parent window."/>
<option name="wxSTB_SHOW_TIPS" help="Displays tooltips for those panes whose status text has been ellipsized/truncated because the status text doesn't fit the pane width. Note that this style has effect only on wxGTK (with GTK+ >= 2.12) currently."/>
<option name="wxSTB_ELLIPSIZE_START" help="Replace the beginning of the status texts with an ellipsis when the status text widths exceed the status bar pane's widths (uses wxControl::Ellipsize)."/>
<option name="wxSTB_ELLIPSIZE_MIDDLE" help="Replace the middle of the status texts with an ellipsis when the status text widths exceed the status bar pane's widths (uses wxControl::Ellipsize)."/>
<option name="wxSTB_ELLIPSIZE_END" help="Replace the end of the status texts with an ellipsis when the status text widths exceed the status bar pane's widths (uses wxControl::Ellipsize)."/>
<option name="wxSTB_DEFAULT_STYLE" help="The default style: includes wxSTB_SIZEGRIP|wxSTB_SHOW_TIPS|wxSTB_ELLIPSIZE_END|wxFULL_REPAINT_ON_RESIZE"/>
wxSTB_SIZEGRIP
</property>
</objectinfo>
<objectinfo class="wxMenuBar" icon="menubar.xpm" type="menubar" startgroup="1">
<inherits class="wxWindow"/>
<property name="name" type="text">m_menubar</property>
<property name="style" type="bitlist">
<option name="wxMB_DOCKABLE" help="Allows the menu bar to be detached (wxGTK only)."/>
</property>
</objectinfo>
<objectinfo class="wxMenu" icon="menu.xpm" type="menu">
<property name="name" type="text">m_menu</property>
<property name="label" type="wxString_i18n">MyMenu</property>
</objectinfo>
<objectinfo class="submenu" icon="submenu.xpm" type="submenu">
<property name="name" type="text">m_menu</property>
<property name="bitmap" type="bitmap" help="Bitmap for the menu item. (Windows, GTK+, and OSX only) This doubles as the checked bitmap is the menu item is wxITEM_CHECK."/>
<property name="label" type="wxString_i18n">MyMenu</property>
</objectinfo>
<objectinfo class="wxMenuItem" icon="menuitem.xpm" type="menuitem">
<property name="name" type="text">m_menuItem</property>
<property name="label" type="wxString_i18n" help="Text for the menu item, as shown on the menu. An accelerator key can be specified using the ampersand "&" character.">MyMenuItem</property>
<property name="shortcut" type="wxString" help="Optional shortcut keyboard shortcut. Remarks: The general syntax is any combination of "CTRL", "ALT" and "SHIFT" strings (case doesn't matter) separated by either '-' or '+' characters and followed by the accelerator itself. The accelerator may be any alphanumeric character, any function key (from F1 to F12)"/>
<property name="help" type="wxString_i18n" help="Optional help string that will be shown on the status bar."/>
<property name="id" type="macro">wxID_ANY</property>
<property name="bitmap" type="bitmap" help="Bitmap for the menu item. (Windows, GTK+, and OSX only) This doubles as the checked bitmap is the menu item is wxITEM_CHECK."/>
<property name="unchecked_bitmap" type="bitmap" help="Unchecked bitmap for the menu item. This will be shown if the menu item is wxITEM_CHECK and it is currently unchecked. (Windows only)"/>
<property name="checked" type="bool">0</property>
<property name="enabled" type="bool">1</property>
<property name="kind" type="option">
<option name="wxITEM_NORMAL" help="Creates a normal menu item."/>
<option name="wxITEM_CHECK" help="Creates a checkable menu item."/>
<option name="wxITEM_RADIO" help="radio item to the end of the menu. All consequent radio items form a group and when an item in the group is checked, all the others are automatically unchecked. (Only on Windows and GTK)"/>
wxITEM_NORMAL
</property>
<event name="OnMenuSelection" class="wxCommandEvent" help="Process a menu selection event."/>
<event name="OnUpdateUI" class="wxUpdateUIEvent" help="Process a wxEVT_UPDATE_UI event."/>
</objectinfo>
<objectinfo class="separator" icon="separator.xpm" type="menuitem">
<property name="name" type="text">m_separator</property>
</objectinfo>
<objectinfo class="wxToolBar" icon="toolbar.xpm" type="toolbar" startgroup="1">
<inherits class="wxWindow"/>
<inherits class="AUI"/>
<property name="name" type="text">m_toolBar</property>
<property name="bitmapsize" type="wxSize" help="Default size of each tool bitmap. The default bitmap size is 16 by 15 pixels."/>
<property name="margins" type="wxSize" help="Values to be used as margins for the toolbar."/>
<property name="packing" type="uint" help="Value used for spacing tools. Remarks: The packing is used for spacing in the vertical direction if the toolbar is horizontal, and for spacing in the horizontal direction if the toolbar is vertical.">1</property>
<property name="separation" type="uint" help="The default separator size. Remarks: This is the size between each toolbar tool.">5</property>
<property name="style" type="bitlist">
<option name="wxTB_FLAT" help="Gives the toolbar a flat look (Windows and GTK only)."/>
<option name="wxTB_DOCKABLE" help="Makes the toolbar floatable and dockable (GTK only)."/>
<option name="wxTB_HORIZONTAL" help="Specifies horizontal layout (default)."/>
<option name="wxTB_VERTICAL" help="Specifies vertical layout."/>
<option name="wxTB_TEXT" help="Shows the text in the toolbar buttons; by default only icons are shown."/>
<option name="wxTB_NOICONS" help="Specifies no icons in the toolbar buttons; by default they are shown."/>
<option name="wxTB_NODIVIDER" help="Specifies no divider (border) above the toolbar (Windows only)."/>
<option name="wxTB_NOALIGN" help="Specifies no alignment with the parent window (Windows only, not very useful)."/>
<option name="wxTB_HORZ_LAYOUT" help="Shows the text and the icons alongside, not vertically stacked (Windows and GTK 2 only). This style must be used with wxTB_TEXT."/>
<option name="wxTB_HORZ_TEXT" help="Combination of wxTB_HORZ_LAYOUT and wxTB_TEXT."/>
<option name="wxTB_NO_TOOLTIPS" help="Don't show the short help tooltips for the tools when the mouse hovers over them."/>
<option name="wxTB_BOTTOM" help="Align the toolbar at the bottom of parent window."/>
<option name="wxTB_RIGHT" help="Align the toolbar at the right side of parent window."/>
<option name="wxTB_DEFAULT_STYLE" help="Combination of wxTB_HORIZONTAL and wxTB_FLAT. This style is new since wxWidgets 2.9.5."/>
wxTB_HORIZONTAL
</property>
</objectinfo>
<objectinfo class="wxAuiToolBar" icon="auitoolbar.xpm" type="toolbar">
<inherits class="wxWindow"/>
<inherits class="AUI"/>
<property name="name" type="text">m_auiToolBar</property>
<property name="bitmapsize" type="wxSize" help="Default size of each tool bitmap. The default bitmap size is 16 by 15 pixels."/>
<property name="margins" type="wxSize" help="Values to be used as margins for the toolbar."/>
<property name="packing" type="uint" help="Value used for spacing tools. Remarks: The packing is used for spacing in the vertical direction if the toolbar is horizontal, and for spacing in the horizontal direction if the toolbar is vertical.">1</property>
<property name="separation" type="uint" help="The default separator size. Remarks: This is the size between each toolbar tool.">5</property>
<property name="style" type="bitlist">
<option name="wxAUI_TB_TEXT"/>
<option name="wxAUI_TB_NO_TOOLTIPS"/>
<option name="wxAUI_TB_NO_AUTORESIZE"/>
<option name="wxAUI_TB_GRIPPER"/>
<option name="wxAUI_TB_OVERFLOW"/>
<option name="wxAUI_TB_VERTICAL" help="Using this style forces the toolbar to be vertical and be only dockable to the left or right sides of the window whereas by default it can be horizontal or vertical and be docked anywhere."/>
<option name="wxAUI_TB_HORZ_LAYOUT"/>
<option name="wxAUI_TB_HORIZONTAL" help="Analogous to wxAUI_TB_VERTICAL, but forces the toolbar to be horizontal."/>
<option name="wxAUI_TB_PLAIN_BACKGROUND" help="Draw a plain background (based on parent) instead of the default gradient background."/>
<option name="wxAUI_TB_HORZ_TEXT" help="Equivalent to wxAUI_TB_HORZ_LAYOUT | wxAUI_TB_TEXT"/>
<option name="wxAUI_TB_DEFAULT_STYLE" help="The default is to have no styles."/>
wxAUI_TB_HORZ_LAYOUT
</property>
<property name="use_explicit_ids" type="bool" help="Use user-specified tool IDs instead of automatically assigned ones (needed for old wxAuiToolBar implementation).">0</property>
</objectinfo>
<objectinfo class="tool" icon="tool.xpm" type="tool">
<property name="name" type="text">m_tool</property>
<property name="label" type="wxString_i18n">tool</property>
<property name="bitmap" type="bitmap" help="The primary tool bitmap."/>
<property name="kind" type="option">
<option name="wxITEM_NORMAL" help="A normal toolbar button."/>
<option name="wxITEM_CHECK" help="A checkable tool (stays pressed after it has been toggled)."/>
<option name="wxITEM_RADIO" help="A checkable tool which makes part of a radio group of tools each of which is automatically unchecked whenever another button in the group is checked."/>
wxITEM_NORMAL
</property>
<property name="context_menu" type="bool" help="Specifies that a drop-down menu button will appear next to the tool button. Used only with wxAuiToolBar.">0</property>
<property name="tooltip" type="wxString_i18n" help="Help string used in the tooltip."/>
<property name="statusbar" type="wxString_i18n" help="This string is shown in the statusbar (if any) of the parent frame when the mouse pointer is inside the tool."/>
<property name="id" type="macro">wxID_ANY</property>
<event name="OnToolClicked" class="wxCommandEvent" help="Process a wxEVT_COMMAND_TOOL_CLICKED event (a synonym for wxEVT_COMMAND_MENU_SELECTED). Pass the id of the tool."/>
<event name="OnMenuSelection" class="wxCommandEvent" help="The same as OnToolClicked. (EVT_TOOL)"/>
<event name="OnToolRClicked" class="wxCommandEvent" help="Process a wxEVT_COMMAND_TOOL_RCLICKED event."/>
<event name="OnToolEnter" class="wxCommandEvent" help="Process a wxEVT_COMMAND_TOOL_ENTER event. This uses the tools parent ID, the ToolBar, so be sure you set it to something that is not the default. The value of wxCommandEvent::GetSelection is the tool id, or -1 if the mouse cursor has moved off a tool."/>
<event name="OnUpdateUI" class="wxUpdateUIEvent" help="Process a wxEVT_UPDATE_UI event."/>
<event name="OnAuiToolBarToolDropDown" class="wxAuiToolBarEvent" help="Process a wxEVT_COMMAND_AUITOOLBAR_TOOL_DROPDOWN event."/>
<event name="OnAuiToolBarOverflowClick" class="wxAuiToolBarEvent" help="Process a wxEVT_COMMAND_AUITOOLBAR_OVERFLOW_CLICK event."/>
<event name="OnAuiToolBarRightClick" class="wxAuiToolBarEvent" help="Process a wxEVT_COMMAND_AUITOOLBAR_RIGHT_CLICK event."/>
<event name="OnAuiToolBarMiddleClick" class="wxAuiToolBarEvent" help="Process a wxEVT_COMMAND_AUITOOLBAR_MIDDLE_CLICK event."/>
<event name="OnAuiToolBarBeginDrag" class="wxAuiToolBarEvent" help="Process a wxEVT_COMMAND_AUITOOLBAR_BEGIN_DRAG event."/>
</objectinfo>
<objectinfo class="toolSeparator" icon="toolSeparator.xpm" type="tool">
</objectinfo>
<objectinfo class="wxInfoBar" icon="infobar.xpm" type="widget" wxversion="2904" startgroup="1">
<inherits class="wxWindow"/>
<inherits class="AUI"/>
<property name="name" type="text">m_infoCtrl</property>
<property name="show_effect" type="option" help="Set the effects to use when showing the bar.">
<option name="wxSHOW_EFFECT_NONE" help="No effect, equivalent to normal wxWindow::Show() or Hide() call."/>
<option name="wxSHOW_EFFECT_ROLL_TO_LEFT" help="Roll window to the left."/>
<option name="wxSHOW_EFFECT_ROLL_TO_RIGHT" help="Roll window to the right."/>
<option name="wxSHOW_EFFECT_ROLL_TO_TOP" help="Roll window to the top."/>
<option name="wxSHOW_EFFECT_ROLL_TO_BOTTOM" help="Roll window to the bottom."/>
<option name="wxSHOW_EFFECT_SLIDE_TO_LEFT" help="Slide window to the left."/>
<option name="wxSHOW_EFFECT_SLIDE_TO_RIGHT" help="Slide window to the right."/>
<option name="wxSHOW_EFFECT_SLIDE_TO_TOP" help="Slide window to the top."/>
<option name="wxSHOW_EFFECT_SLIDE_TO_BOTTOM" help="Slide window to the bottom."/>
<option name="wxSHOW_EFFECT_BLEND" help="Fade in or out effect."/>
<option name="wxSHOW_EFFECT_EXPAND" help="Expanding or collapsing effect."/>
wxSHOW_EFFECT_NONE
</property>
<property name="hide_effect" type="option" help="Set the effects to use when hiding the bar. ">
<option name="wxSHOW_EFFECT_NONE" help="No effect, equivalent to normal wxWindow::Show() or Hide() call."/>
<option name="wxSHOW_EFFECT_ROLL_TO_LEFT" help="Roll window to the left."/>
<option name="wxSHOW_EFFECT_ROLL_TO_RIGHT" help="Roll window to the right."/>
<option name="wxSHOW_EFFECT_ROLL_TO_TOP" help="Roll window to the top."/>
<option name="wxSHOW_EFFECT_ROLL_TO_BOTTOM" help="Roll window to the bottom."/>
<option name="wxSHOW_EFFECT_SLIDE_TO_LEFT" help="Slide window to the left."/>
<option name="wxSHOW_EFFECT_SLIDE_TO_RIGHT" help="Slide window to the right."/>
<option name="wxSHOW_EFFECT_SLIDE_TO_TOP" help="Slide window to the top."/>
<option name="wxSHOW_EFFECT_SLIDE_TO_BOTTOM" help="Slide window to the bottom."/>
<option name="wxSHOW_EFFECT_BLEND" help="Fade in or out effect."/>
<option name="wxSHOW_EFFECT_EXPAND" help="Expanding or collapsing effect."/>
wxSHOW_EFFECT_NONE
</property>
<property name="duration" type="int" help="Set the duration of the animation (in milliseconds) used when showing or hiding the bar.">500</property>
</objectinfo>
</package>
|