Sha256: fc0a11d2251a460453fa2c1c87027a23e788eb0ec53e6cb315647ec8e949dd0c

Contents?: true

Size: 554 Bytes

Versions: 50

Compression:

Stored size: 554 Bytes

Contents

module RubyApp

  module Elements

    module Dialogs

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

        class BaseCloseDialog < RubyApp::Elements::Dialogs::BlankDialog

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

          def initialize
            super

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

          end

        end

      end

    end

  end

end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
RubyApp-0.2.7 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.2.6 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.2.5 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.2.4 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.2.3 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.2.2 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.2.1 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.2.0 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.91 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.90 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.89 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.88 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.87 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.86 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.85 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.84 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.83 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.82 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.81 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.80 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb