Sha256: a1b7dba6d3deb08e88c49201519292d9bada98ac0091a761a88a35e0a0d68885

Contents?: true

Size: 800 Bytes

Versions: 11

Compression:

Stored size: 800 Bytes

Contents

class Wx::RBN::RibbonControl

  # manage RibbonArtProvider for GC
  wx_set_art_provider = instance_method :set_art_provider
  define_method :set_art_provider do |prov|
    @art_provider = nil # clear any previously set
    wx_set_art_provider.bind(self).call(prov)
    if prov != get_ancestor_ribbon_bar.get_art_provider
      @art_provider = prov # keep non-wx-managed provider safe
    end
  end
  alias :art_provider= :set_art_provider

end

module Wx
  module RBN
    # internally used specialized ribbon control without public exposure
    # window* to these controls will surface (with the specialized wxWidgets
    # class name) however so make them known to wxRuby mapped to the generic
    # RibbonControl class
    RibbonPageScrollButton = RibbonControl
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/rbn/ribbon_control.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/rbn/ribbon_control.rb