# FrameAPITooltip (widget methods): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/FrameAPITooltip

## Functions

### AddFontStrings

```lua
self:AddFontStrings(leftFontString, rightFontString)
```

Arguments:
- `leftFontString`: SimpleFontString
- `rightFontString`: SimpleFontString

### ClearPadding

```lua
self:ClearPadding()
```

Set all padding values to 0.0 and remove the Padding SecretAspect.

### GetLeftLine

```lua
leftFontString = self:GetLeftLine(line)
```

Arguments:
- `line`: luaIndex

Returns:
- `leftFontString`: SimpleFontString

### GetMinimumWidth

```lua
width, forced = self:GetMinimumWidth()
```

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Returns:
- `width`: number
- `forced`: bool

### GetPadding

```lua
right, bottom, left, top = self:GetPadding()
```

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Returns:
- `right`: number
- `bottom`: number
- `left`: number
- `top`: number

### GetRightLine

```lua
rightFontString = self:GetRightLine(line)
```

Arguments:
- `line`: luaIndex

Returns:
- `rightFontString`: SimpleFontString

### SetMinimumWidth

```lua
self:SetMinimumWidth(width, [force])
```

Arguments:
- `width`: number
- `force`: bool, default false

### SetPadding

```lua
self:SetPadding(right, bottom, [left], [top])
```

Arguments:
- `right`: number
- `bottom`: number
- `left`: number, may be nil
- `top`: number, may be nil

### SetText

```lua
self:SetText(text, colorR, colorG, colorB, [alpha], [wrap])
```

Arguments:
- `text`: cstring
- `colorR`: number
- `colorG`: number
- `colorB`: number
- `alpha`: number, default 1
- `wrap`: bool, default false

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
