Sha256: b952070116938d1262c3d8794e8402ea1b31011e8490b4f02be8515539a5f8aa

Contents?: true

Size: 576 Bytes

Versions: 28

Compression:

Stored size: 576 Bytes

Contents

module RubyApp

  module Elements

    module Dialogs

      module Base
        require 'ruby_app/elements/dialogs/blank_dialog'
        require 'ruby_app/elements/link'

        class BaseOkDialog < RubyApp::Elements::Dialogs::BlankDialog

          template_path(:all, File.dirname(__FILE__))

          def initialize
            super

            @ok = RubyApp::Elements::Link.new
            @ok.clicked do |element, event|
              @response = true
              event.hide_dialog(self)
            end

          end

        end

      end

    end

  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
RubyApp-0.0.71 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.70 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.69 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.68 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.64 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.63 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.62 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.61 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb