Class: Uia::Library::SelectionItemInformation

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



59
60
61
# File 'lib/uia/library/pattern_structs.rb', line 59

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

Instance Method Details

#containerObject



55
56
57
# File 'lib/uia/library/pattern_structs.rb', line 55

def container
  self[:container] unless self[:container].empty?
end

#selected?Boolean

Returns:

  • (Boolean)


51
52
53
# File 'lib/uia/library/pattern_structs.rb', line 51

def selected?
  self[:is_selected]
end