Main Page | Directories | File List | File Members

hn-app-tooltip.h

Go to the documentation of this file.
00001 /* hn-app-tooltip.h
00002  * This file is part of maemo-af-desktop
00003  *
00004  * Copyright (C) 2006 Nokia Corporation.
00005  *
00006  * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public License
00010  * version 2.1 as published by the Free Software Foundation.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00020  * 02110-1301 USA
00021  *
00022  */
00023 
00032 #ifndef HN_APP_TOOLTIP_H
00033 #define HN_APP_TOOLTIP_H
00034 
00035 #include <gtk/gtkwidget.h>
00036 #include "hn-wm-types.h"
00037 
00038 G_BEGIN_DECLS
00039 
00040 #define HN_TYPE_APP_TOOLTIP     (hn_app_tooltip_get_type ())
00041 #define HN_APP_TOOLTIP(obj)     (G_TYPE_CHECK_INSTANCE_CAST ((obj), HN_TYPE_APP_TOOLTIP, HNAppTooltip))
00042 #define HN_IS_APP_TOOLTIP(obj)      (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HN_TYPE_APP_TOOLTIP))
00043 
00044 typedef struct _HNAppTooltip HNAppTooltip;
00045 
00046 GType        hn_app_tooltip_get_type      (void) G_GNUC_CONST;
00047 
00048 GtkWidget *  hn_app_tooltip_new           (GtkWidget    *widget);
00049 void         hn_app_tooltip_set_widget    (HNAppTooltip *tip,
00050                        GtkWidget    *widget);
00051 GtkWidget *  hn_app_tooltip_get_widget    (HNAppTooltip *tip);
00052 void         hn_app_tooltip_set_text      (HNAppTooltip *tip,
00053                        const gchar  *text);
00054 const gchar *hn_app_tooltip_get_text      (HNAppTooltip *tip);
00055 
00056 void         hn_app_tooltip_install_timer (HNAppTooltip *tip,
00057                        GtkCallback   show_cb,
00058                        GtkCallback   hide_cb,
00059                        gpointer      data);
00060 void         hn_app_tooltip_remove_timers  (HNAppTooltip *tip);
00061 void         hn_app_tooltip_remove_show_timer  (HNAppTooltip *tip);
00062 
00063 G_END_DECLS
00064 
00065 #endif /* HN_APP_TOOLTIP_H */

Generated on Thu Dec 21 11:26:51 2006 for maemo-af-desktop-documentation by  doxygen 1.4.2