class RAutomation::Adapter::Win32::Table

Constants

DEFAULT_LOCATORS

Default locators used for searching buttons.

Public Instance Methods

select(row) click to toggle source
# File lib/rautomation/adapter/win_32/table.rb, line 11
def select(row)
  Functions.select_table_row(Window.oleacc_module_handle, Functions.control_hwnd(@window.hwnd, @locators), row)
end
selected?(row) click to toggle source
# File lib/rautomation/adapter/win_32/table.rb, line 15
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