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.0.79 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.78 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.77 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.76 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.75 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.74 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.73 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.72 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.71 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.70 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.69 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.68 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.64 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.63 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.62 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.61 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.60 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.59 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.58 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb
RubyApp-0.0.57 lib/ruby_app/elements/dialogs/base/base_close_dialog.rb