Sha256: e54ae910009c9c7869ab467ae76315bd6fc0b19eb01739cd3bef1d9858778a02

Contents?: true

Size: 1.41 KB

Versions: 7

Compression:

Stored size: 1.41 KB

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# 
# Some parts are
# Copyright 2004-2007, wxRuby development team
# released under the MIT-like wxRuby2 license

# = WxSugar - Keyword Constructors Classes
# Wx::RBN sub package for wxRuby3

# wxRibbonControl
Wx::define_keyword_ctors(Wx::RBN::RibbonControl) do
  wx_ctor_params :id, :pos, :size, :style, :validator
  wx_ctor_params :name => 'RibbonControl'
end

# wxRibbonBar
Wx::define_keyword_ctors(Wx::RBN::RibbonBar) do
  wx_ctor_params :id, :pos, :size, :style => Wx::RBN::RibbonBarOption::RIBBON_BAR_DEFAULT_STYLE
end

# wxRibbonButtonBar
Wx::define_keyword_ctors(Wx::RBN::RibbonButtonBar) do
  wx_ctor_params :id, :pos, :size, :style
end

# wxRibbonGallery
Wx::define_keyword_ctors(Wx::RBN::RibbonGallery) do
  wx_ctor_params :id, :pos, :size, :style
end

# wxRibbonPage
Wx::define_keyword_ctors(Wx::RBN::RibbonPage) do
  wx_ctor_params :id, :label => ''
  wx_ctor_params :icon => Wx::NULL_BITMAP
  wx_ctor_params :style
end

# wxRibbonPanel
Wx::define_keyword_ctors(Wx::RBN::RibbonPanel) do
  wx_ctor_params :id, :label => ''
  wx_ctor_params :icon => Wx::NULL_BITMAP
  wx_ctor_params :pos, :size, :style => Wx::RBN::RibbonPanelOption::RIBBON_PANEL_DEFAULT_STYLE
end

# wxRibbonToolBar
Wx::define_keyword_ctors(Wx::RBN::RibbonToolBar) do
  wx_ctor_params :id, :pos, :size, :style
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/rbn/keyword_defs.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/rbn/keyword_defs.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/rbn/keyword_defs.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/rbn/keyword_defs.rb
wxruby3-0.9.2-x64-mingw-ucrt lib/wx/rbn/keyword_defs.rb
wxruby3-0.9.1-x64-mingw-ucrt lib/wx/rbn/keyword_defs.rb
wxruby3-0.9.0-x64-mingw-ucrt lib/wx/rbn/keyword_defs.rb