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.91 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.90 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.89 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.88 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.87 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.86 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.85 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.84 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.83 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.82 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.81 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.80 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.79 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.78 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.77 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.76 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.75 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.74 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.73 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb
RubyApp-0.0.72 lib/ruby_app/elements/dialogs/base/base_ok_dialog.rb