Sha256: 72ed8ab0bac30d688cedf75c8020db8054596e5c6fe55eb37980382a4244b7bb

Contents?: true

Size: 687 Bytes

Versions: 3

Compression:

Stored size: 687 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.

###
# wxRuby3 wxWidgets interface director
###

require_relative './window'

module WXRuby3

  class Director

    class TipWindow < Window

      def setup
        super
        spec.disable_proxies
        spec.ignore 'wxTipWindow::SetTipWindowPtr'
        spec.ignore 'wxTipWindow::wxTipWindow'
        spec.add_extend_code 'wxTipWindow', <<~__HEREDOC
          wxTipWindow(wxWindow* parent, const wxString& text, wxCoord maxLength = 100)
          {
            return new wxTipWindow(parent, text, maxLength);
          }   
          __HEREDOC
      end

    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wxruby3-1.4.2 rakelib/lib/director/tip_window.rb
wxruby3-1.4.1 rakelib/lib/director/tip_window.rb
wxruby3-1.4.0 rakelib/lib/director/tip_window.rb