Sha256: 80cf6d1384e2e362a616edc30954949215fbe2e4b60eb215d8c287829ecfdffa

Contents?: true

Size: 677 Bytes

Versions: 21

Compression:

Stored size: 677 Bytes

Contents

module RAutomation
  module Adapter
    module Win32
      class Table < Control
        include WaitHelper
        include Locators

        # Default locators used for searching buttons.
        DEFAULT_LOCATORS = {:class => /syslistview/i}

        def select(row)
          Functions.select_table_row(Window.oleacc_module_handle, Functions.control_hwnd(@window.hwnd, @locators), row)
        end

        def selected?(row)
          state = Functions.get_table_row_state(Window.oleacc_module_handle, Functions.control_hwnd(@window.hwnd, @locators), row)
          state & Constants::STATE_SYSTEM_SELECTED != 0
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rautomation-1.1.0 lib/rautomation/adapter/win_32/table.rb
rautomation-1.0.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.17.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.16.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.15.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.14.1 lib/rautomation/adapter/win_32/table.rb
rautomation-0.14.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.13.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.12.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.11.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.10.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.9.4 lib/rautomation/adapter/win_32/table.rb
rautomation-0.9.3 lib/rautomation/adapter/win_32/table.rb
rautomation-0.9.2 lib/rautomation/adapter/win_32/table.rb
rautomation-0.9.1 lib/rautomation/adapter/win_32/table.rb
rautomation-0.9.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.8.0 lib/rautomation/adapter/win_32/table.rb
rautomation-0.7.3 lib/rautomation/adapter/win_32/table.rb
rautomation-0.7.2 lib/rautomation/adapter/win_32/table.rb
rautomation-0.7.1 lib/rautomation/adapter/win_32/table.rb