class Fzeet::Windows::UISimplePropertySet

Public Instance Methods

get(k) click to toggle source
# File lib/fzeet/windows/uiribbon.rb, line 434
def get(k) Windows::PROPVARIANT.new.tap { |v| GetValue(k, v) } end
prop(*args) click to toggle source
# File lib/fzeet/windows/uiribbon.rb, line 436
def prop(*args)
        case args.length
        when 1; get(*args)
        else raise ArgumentError
        end
end
uiprop(*args) click to toggle source
# File lib/fzeet/windows/uiribbon.rb, line 443
def uiprop(*args)
        args[0] = Windows.const_get("UI_PKEY_#{args[0]}")

        prop(*args)
end