Sha256: 85d27332b30bbfd2c0bdf8c2e338510ee51b3294e1379caa73279599c35b95c7

Contents?: true

Size: 1.37 KB

Versions: 8

Compression:

Stored size: 1.37 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

8 entries across 8 versions & 1 rubygems

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