module Iup::ImageAttributes

Defines attributes for widgets which contain images.

Public Instance Methods

image(val=nil) click to toggle source

Sets the image to display, based on an image or image name. This can use an actual image object, or the name of an image from IupImageLib.

# File lib/wrapped/image-attributes.rb, line 11
def image val=nil
  attribute_reference 'IMAGE', ImageWidget, val
end
iminactive(val=nil) click to toggle source

Sets the image to display when inactive, based on an image or image name.

# File lib/wrapped/image-attributes.rb, line 16
def iminactive val=nil
  attribute_reference 'IMINACTION', ImageWidget, val
end
impress(val=nil) click to toggle source

Sets the image to display when pressed, based on an image or image name.

# File lib/wrapped/image-attributes.rb, line 21
def impress val=nil
  attribute_reference 'IMPRESS', ImageWidget, val
end