Class: Snarl::SnarlAPI::SnarlStruct

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/snarl.rb

Instance Method Summary collapse

Instance Method Details

#set_icon(icon) ⇒ Object



112
113
114
# File 'lib/snarl.rb', line 112

def set_icon(icon)
  copy_chars(:icon, icon)
end

#set_text(text) ⇒ Object



109
110
111
# File 'lib/snarl.rb', line 109

def set_text(text)
  copy_chars(:text, text)
end

#set_title(title) ⇒ Object



106
107
108
# File 'lib/snarl.rb', line 106

def set_title(title)
  copy_chars(:title, title);
end