PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

GtkTooltips | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

GtkTooltips

Adds tooltips to other widgets.

Object Hierarchy

GtkObject
`-- GtkData
       `-- GtkTooltips

Direct subclasses

None.

Description

Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time. They are set via the set_tip() method.

They are especially helpful for adding more verbose descriptions of things such as buttons in a toolbar.

This widget holds tooltips for other widgets. You should only need one Tooltip widget for all widgets you wish to add tips to.

Tooltips can only be used on widgets which have their own x window. Other widgets, e.g. GtkLabels can be added to an GtkEventBox to benefit from tooltips.

A widget which wants to use a tooltip needs to expose GDK_ENTER_NOTIFY_MASK and GDK_LEAVE_NOTIFY_MASK which can be set via the add_events() function. Most widgets do this automatically, but e.g. a GtkDrawingArea does not.

Constructor

GtkTooltips (void);
-- Creates a new tooltips instance.

Methods

enable()
?? Actives the showing of tooltips.
disable()
?? Disable the showing of tooltips.
set_delay()
?? Determines the time after which the tooltips are shown
set_tip()
?? Sets the tooltip for a specific widget
set_colors()
?? Sets the fore- and background color of the tooltips. Deprecated.
force_window()
?? Used internally only.

忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「GtkTooltips」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | GtkTooltips」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: