File: ribbon.luacode

package info (click to toggle)
wxformbuilder 4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,908 kB
  • sloc: cpp: 37,318; xml: 6,611; javascript: 1,353; python: 94; sh: 62; makefile: 62
file content (117 lines) | stat: -rw-r--r-- 6,635 bytes parent folder | download
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
<?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

Lua code generation written by
  Vratislav Zival
-->
<codegen language="Lua">

  <templates class="wxRibbonBar">
    <template name="construction">
      #utbl$name = wx.RibbonBar( #utbl#wxparent $name, $id, $pos, $size, wxRIBBON_BAR_DEFAULT_STYLE)
    </template>
    <template name="evt_connect_OnRibbonBarPageChanged">-- event #utbl$name:OnRibbonBarPageChanged isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonBarPageChanging">-- event #utbl$name:BarPageChanging isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonBarTabMiddleDown">-- event #utbl$name:OnRibbonBarTabMiddleDown isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonBarTabMiddleUp">-- event #utbl$name:OnRibbonBarTabMiddleUp isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonBarTabRightDown">-- event #utbl$name:OnRibbonBarTabRightDown isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonBarTabRightUp">-- event #utbl$name:OnRibbonBarTabRightUp isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonBarTabLeftDClick">-- event #utbl$name:OnRibbonBarTabLeftDClick isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonBarToggled">-- event #utbl$name:OnRibbonBarToggled isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonBarHelpClick">-- event #utbl$name:OnRibbonBarHelpClick isn't currently supported by wxLua</template>
  </templates>

  <templates class="wxRibbonPage">
    <template name="construction">
      #utbl$name = wx.RibbonPage( #utbl#wxparent $name, $id, $label , $bitmap , $style #ifnotnull $window_style @{ |$window_style @} #ifnotnull $window_name @{, $window_name @} );
    </template>
    <template name="settings">
      #ifequal $select "1"
      @{ #utbl#wxparent $name:SetActivePage( #utbl$name ) @}
    </template>
  </templates>

  <templates class="wxRibbonPanel">
    <template name="construction">
      #utbl$name = wx.RibbonBar( #utbl#wxparent $name, $id, $label , $bitmap , $pos, $size,  $style #ifnotnull $window_style @{ |$window_style @} #ifnotnull $window_name @{, $window_name @} );
    </template>
    <template name="evt_connect_OnRibbonPanelExtbuttonActivated">-- event #utbl$name:OnRibbonPanelExtbuttonActivated isn't currently supported by wxLua</template>
  </templates>

  <templates class="wxRibbonButtonBar">
    <template name="construction">
      #utbl$name = wx.RibbonBar( #utbl#wxparent $name, $id, $pos, $size, $style #ifnotnull $window_style @{ |$window_style @} #ifnotnull $window_name @{, $window_name @} );
    </template>
  </templates>

  <templates class="ribbonButton">
    <template name="evt_connect_OnRibbonButtonClicked">-- event OnRibbonButtonClicked isn't currently supported by wxLua</template>
  </templates>

  <templates class="ribbonDropdownButton">
    <template name="evt_connect_OnRibbonButtonDropdownClicked">-- event OnRibbonButtonDropdownClicked isn't currently supported by wxLua</template>
  </templates>

  <templates class="ribbonHybridButton">
    <template name="evt_connect_OnRibbonButtonClicked">-- event OnRibbonButtonClicked isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonButtonDropdownClicked">-- event OnRibbonButtonDropdownClicked isn't currently supported by wxLua</template>
  </templates>

  <templates class="ribbonToggleButton">
    <template name="evt_connect_OnRibbonButtonClicked">-- event OnRibbonButtonClicked isn't currently supported by wxLua</template>
  </templates>

  <templates class="wxRibbonToolBar">
    <template name="construction">
      #utbl$name = wx.RibbonBar( #utbl#wxparent $name, $id, $pos, $size, $style #ifnotnull $window_style @{ |$window_style @} #ifnotnull $window_name @{, $window_name @} );
    </template>
  </templates>

  <templates class="ribbonTool">
    <template name="evt_connect_OnRibbonToolClicked">-- event OnRibbonToolClicked isn't currently supported by wxLua</template>
  </templates>

  <templates class="ribbonDropdownTool">
    <template name="evt_connect_OnRibbonToolDropdownClicked">-- event OnRibbonToolDropdownClicked isn't currently supported by wxLua</template>
  </templates>

  <templates class="ribbonHybridTool">
    <template name="evt_connect_OnRibbonToolClicked">-- event OnRibbonToolClicked isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonToolDropdownClicked">-- event OnRibbonToolDropdownClicked isn't currently supported by wxLua</template>
  </templates>

  <templates class="ribbonToggleTool">
    <template name="evt_connect_OnRibbonToolClicked">-- event OnRibbonToolClicked isn't currently supported by wxLua</template>
  </templates>

  <templates class="wxRibbonGallery">
    <template name="construction">
      #utbl$name = wx.RibbonGallery( #utbl#wxparent $name, $id, $pos, $size, $style #ifnotnull $window_style @{ |$window_style @} #ifnotnull $window_name @{, $window_name @} );
    </template>
    <template name="evt_connect_OnRibbonGallerySelected">-- event OnRibbonGallerySelected isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonGalleryClicked">-- event OnRibbonGalleryClicked isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonGalleryHoverChanged">-- event OnRibbonGalleryHoverChanged isn't currently supported by wxLua</template>
    <template name="evt_connect_OnRibbonGalleryExtensionButtonPressed">-- event GalleryExtensionButtonPressed isn't currently supported by wxLua</template>
  </templates>

</codegen>