Haiku API Bindings
TextToolTip
Not logged in

Documentation | InterfaceKit | TextToolTip

SYNOPSIS

Perl

use HaikuR1::Private::TextToolTip;

$view->SetToolTip($tooltip);

Python

from HaikuR1.Private import TextToolTip

view.SetToolTip(tooltip)

DESCRIPTION

Exposes the BTextToolTip object.

This class is part of Haiku's private API. For the most part, you will not need this class; see remarks in ToolTip.

METHODS

Constructor

Creates a TextToolTip.

Perl

HaikuR1::TextToolTip->new($text);
HaikuR1::TextToolTip->new($archive);

Python

TextToolTip(text)
TextToolTip(archive)

Text

SetText

Gets or sets the text of the tooltip.

Perl

$texttooltip->Text();
$texttooltip->SetText($text);

Python

texttooltip.Text()
texttooltip.SetText(text)

ARCHIVABLE INTERFACE

TextToolTip inherits the methods and hooks of Archivable.

TOOLTIP INTERFACE

TextToolTip inherits the methods and hooks of ToolTip.

The following differs from the ToolTip version:

View

Returns a TextView.