Class MusicExtras::Gui
In: lib/musicextras/gui/gui.rb
Parent: Object

All Guis should inherit from this. This class implements all of the necessary methods for a Gui. If there are any datatypes you choose not to handle, just don’t redefine them. The default behavior is to be quiet

Once you implement your Gui, edit musicextras-gui and replace GuiControl.new.start with GuiControl(YourGuiClass).new.start

Methods

Attributes

control  [R]  The GuiControl instance that called us

Public Class methods

control
the GuiControl for this gui

Public Instance methods

Sets the album cover. Should be nil to indicate no cover (ie: remove old one)

cover
Binary String containing album cover. Should be nil to

indicate no cover (ie: remove old one)

Sets the album review

Sets the artist image.

image
Binary String containing artist image. Should be nil to

indicate no image (ie: remove old one)

Sets biography information

Sets the lyrics

Sets the status of fetching (ie: Retrieving artist image)

msg
A String to dispaly

Sets years active (as a string)

Starts Gui

[Validate]