Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

FRBUTTONCLASS

Class identifier. A buttongclass gadget that outlines its imagery with a frame.

Declaration

Source position: intuition.pas line 2792

const FRBUTTONCLASS: PChar = 'frbuttonclass';

Description

This is a special class of button gadget that puts a Boopsi framing image around some other display element. This display element can be one of three things: plain text from the GA_Text attribute, an IntuiText from the GA_IntuiText attribute, or an Image from the GA_LabelImage attribute.

The user activates the gadget by clicking within the bounds of the gadget's framing image, which it gets from the GA_Image attribute. Usually the framing image is an instance of an image class that supports the IM_FRAMEBOX method (like frameiclass). If the framing image supports the IM_FRAMEBOX method, the frbuttonclass object centers the frame image around the display element. See the imageclass description of IM_FRAMEBOX for more information.

Changed Methods:

OM_NEW, GM_HITTEST, GM_RENDER

Attributes:

GA_Width (S)

GA_Height (S)

GA_DrawInfo (I)

GA_Text (IS)

GA_IntuiText (IS)

GA_LabelImage (IS)

See also

ClassID

  

Name of the Object class

TIClass

  

This structure is READ-ONLY, and allocated only by Intuition

MakeClass

  

Create and initialize a boopsi class.

NewObjectA

  

Create an object from a class.


Documentation generated on: 2021-07-30