Sha256: 1c392f338c20eac93476240e7f6cb31bc6028a5414da51628c4e5832767145b8

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 => Wx::CONTROL_NAME_STR
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-1.3.1 lib/wx/rbn/keyword_defs.rb
wxruby3-1.3.0 lib/wx/rbn/keyword_defs.rb
wxruby3-1.2.1 lib/wx/rbn/keyword_defs.rb
wxruby3-1.2.0 lib/wx/rbn/keyword_defs.rb
wxruby3-1.1.2 lib/wx/rbn/keyword_defs.rb
wxruby3-1.1.1 lib/wx/rbn/keyword_defs.rb
wxruby3-1.1.0 lib/wx/rbn/keyword_defs.rb
wxruby3-1.0.1 lib/wx/rbn/keyword_defs.rb