gdl-dock-item.h revision 2a0d28d8362038ea37c9ed50a4e30a763529835a
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
*
* Author: Gustavo Gir�ldez <gustavo.giraldez@gmx.net>
*
* Based on GnomeDockItem/BonoboDockItem. Original copyright notice follows.
*
* Copyright (C) 1998 Ettore Perazzoli
* Copyright (C) 1998 Elliot Lee
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
* All rights reserved.
*
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GDL_DOCK_ITEM_H__
#define __GDL_DOCK_ITEM_H__
#include "libgdl/gdl-dock-object.h"
/* standard macros */
#define GDL_TYPE_DOCK_ITEM (gdl_dock_item_get_type ())
#define GDL_DOCK_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GDL_TYPE_DOCK_ITEM, GdlDockItemClass))
#define GDL_DOCK_ITEM_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_DOCK_ITEM, GdlDockItemClass))
/* data types & structures */
typedef enum {
GDL_DOCK_ITEM_BEH_NEVER_FLOATING = 1 << 0,
typedef enum {
/* for general use: indicates the user has started an action on
the dock item */
typedef struct _GdlDockItem GdlDockItem;
typedef struct _GdlDockItemClass GdlDockItemClass;
typedef struct _GdlDockItemPrivate GdlDockItemPrivate;
struct _GdlDockItem {
accesible from
outside */
};
struct _GdlDockItemClass {
/* virtuals */
gint x,
gint y);
};
/* additional macros */
#define GDL_DOCK_ITEM_IN_DRAG(item) \
#define GDL_DOCK_ITEM_IN_PREDRAG(item) \
#define GDL_DOCK_ITEM_ICONIFIED(item) \
#define GDL_DOCK_ITEM_USER_ACTION(item) \
#define GDL_DOCK_ITEM_CANT_CLOSE(item) \
#define GDL_DOCK_ITEM_CANT_ICONIFY(item) \
/* public interface */
const GdkPixbuf *pixbuf_icon,
GType gdl_dock_item_get_type (void);
/* bind and unbind items to a dock */
#endif