Class: Uia::Library::SelectionInformation

Inherits:
FFI::ManagedStruct
  • Object
show all
Defined in:
lib/uia/library/pattern_structs.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.release(pointer) ⇒ Object



42
43
44
# File 'lib/uia/library/pattern_structs.rb', line 42

def self.release(pointer)
  Library.release_selection_info(pointer)
end

Instance Method Details

#multi_select?Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/uia/library/pattern_structs.rb', line 34

def multi_select?
  self[:can_multi_select]
end

#selection_required?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/uia/library/pattern_structs.rb', line 38

def selection_required?
  self[:is_selection_required]
end