OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :
 
GtkTooltips

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.

 
   Print this page

Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting


Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS Free Templates

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005