class Fzeet::Windows::UICollection

Public Instance Methods

add(unknown) click to toggle source
# File lib/fzeet/windows/uiribbon.rb, line 321
def add(unknown) Add(unknown); self end
clear() click to toggle source
# File lib/fzeet/windows/uiribbon.rb, line 322
def clear; Clear(); self end
count() click to toggle source
# File lib/fzeet/windows/uiribbon.rb, line 316
def count; FFI::MemoryPointer.new(:uint) { |pc| GetCount(pc); return pc.get_uint(0) } end
Also aliased as: size, length
each() { |get(i)| ... } click to toggle source
# File lib/fzeet/windows/uiribbon.rb, line 324
def each; length.times { |i| yield get(i) }; self end
get(i) click to toggle source
# File lib/fzeet/windows/uiribbon.rb, line 320
def get(i) FFI::MemoryPointer.new(:pointer) { |punk| GetItem(i, punk); return Unknown.new(punk.read_pointer) } end
length()
Alias for: count
size()
Alias for: count