/opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-desklet.h

Aller à la documentation de ce fichier.
00001 /*
00002 ** Login : <ctaf42@gmail.com>
00003 ** Started on  Sun Jan 27 18:35:38 2008 Cedric GESTES
00004 ** $Id$
00005 **
00006 ** Author(s)
00007 **  - Cedric GESTES <ctaf42@gmail.com>
00008 **  - Fabrice REY
00009 **
00010 ** Copyright (C) 2008 Cedric GESTES
00011 ** This program is free software; you can redistribute it and/or modify
00012 ** it under the terms of the GNU General Public License as published by
00013 ** the Free Software Foundation; either version 3 of the License, or
00014 ** (at your option) any later version.
00015 **
00016 ** This program is distributed in the hope that it will be useful,
00017 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 ** GNU General Public License for more details.
00020 **
00021 ** You should have received a copy of the GNU General Public License
00022 ** along with this program; if not, write to the Free Software
00023 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00024 */
00025 
00026 #ifndef __CAIRO_DOCK_DESKLET_H__
00027 #define  __CAIRO_DOCK_DESKLET_H__
00028 
00029 #include <cairo-dock-struct.h>
00030 
00031 #define CD_NB_ITER_FOR_GRADUATION 10
00032 
00038 #define CAIRO_DOCK_IS_DESKLET(pContainer) (pContainer != NULL && pContainer->iType == CAIRO_DOCK_TYPE_DESKLET)
00039 
00044 #define CAIRO_DOCK_DESKLET(pContainer) ((CairoDockDesklet *)pContainer)
00045 
00046 CairoDockDesklet *cairo_dock_create_desklet (Icon *pIcon, GtkWidget *pInteractiveWidget, gboolean bOnWidgetLayer);
00047 
00048 void cairo_dock_place_desklet (CairoDockDesklet *pDesklet, CairoDockMinimalAppletConfig *pMinimalConfig);
00049 
00050 void cairo_dock_steal_interactive_widget_from_desklet (CairoDockDesklet *pDesklet);
00051 void cairo_dock_free_desklet (CairoDockDesklet *pDesklet);
00052 
00053 
00054 void cairo_dock_hide_desklet (CairoDockDesklet *pDesklet);
00055 void cairo_dock_show_desklet (CairoDockDesklet *pDesklet);
00056 
00057 void cairo_dock_add_interactive_widget_to_desklet (GtkWidget *pInteractiveWidget, CairoDockDesklet *pDesklet);
00058 
00059 
00060 void cairo_dock_set_all_desklets_visible (gboolean bOnWidgetLayerToo);
00061 void cairo_dock_set_desklets_visibility_to_default (void);
00062 
00063 CairoDockDesklet *cairo_dock_get_desklet_by_Xid (Window Xid);
00064 
00065 
00066 #endif

Généré le Wed Apr 16 03:27:15 2008 pour Cairo-Dock par  doxygen 1.5.3