/* CTK - The GIMP Toolkit
 * Copyright (C) Red Hat, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

/*
 * Modified by the CTK+ Team and others 1997-2000.  See the AUTHORS
 * file for a list of people on the CTK+ Team.  See the ChangeLog
 * files for a list of changes.  These files are distributed with
 * CTK+ at ftp://ftp.ctk.org/pub/ctk/.
 */

#ifndef __CTK_IMAGE_MENU_ITEM_H__
#define __CTK_IMAGE_MENU_ITEM_H__


#if !defined (__CTK_H_INSIDE__) && !defined (CTK_COMPILATION)
#error "Only <ctk/ctk.h> can be included directly."
#endif

#include <ctk/ctkmenuitem.h>


G_BEGIN_DECLS

#define CTK_TYPE_IMAGE_MENU_ITEM            (ctk_image_menu_item_get_type ())
#define CTK_IMAGE_MENU_ITEM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CTK_TYPE_IMAGE_MENU_ITEM, CtkImageMenuItem))
#define CTK_IMAGE_MENU_ITEM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CTK_TYPE_IMAGE_MENU_ITEM, CtkImageMenuItemClass))
#define CTK_IS_IMAGE_MENU_ITEM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CTK_TYPE_IMAGE_MENU_ITEM))
#define CTK_IS_IMAGE_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CTK_TYPE_IMAGE_MENU_ITEM))
#define CTK_IMAGE_MENU_ITEM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), CTK_TYPE_IMAGE_MENU_ITEM, CtkImageMenuItemClass))


typedef struct _CtkImageMenuItem              CtkImageMenuItem;
typedef struct _CtkImageMenuItemPrivate       CtkImageMenuItemPrivate;
typedef struct _CtkImageMenuItemClass         CtkImageMenuItemClass;

struct _CtkImageMenuItem
{
  CtkMenuItem menu_item;

  /*< private >*/
  CtkImageMenuItemPrivate *priv;
};

/**
 * CtkImageMenuItemClass:
 * @parent_class: The parent class.
 */
struct _CtkImageMenuItemClass
{
  CtkMenuItemClass parent_class;

  /*< private >*/

  /* Padding for future expansion */
  void (*_ctk_reserved1) (void);
  void (*_ctk_reserved2) (void);
  void (*_ctk_reserved3) (void);
  void (*_ctk_reserved4) (void);
};

CDK_AVAILABLE_IN_ALL
GType	   ctk_image_menu_item_get_type          (void) G_GNUC_CONST;
CDK_AVAILABLE_IN_ALL
CtkWidget* ctk_image_menu_item_new               (void);
CDK_AVAILABLE_IN_ALL
CtkWidget* ctk_image_menu_item_new_with_label    (const gchar      *label);
CDK_AVAILABLE_IN_ALL
CtkWidget* ctk_image_menu_item_new_with_mnemonic (const gchar      *label);
CDK_AVAILABLE_IN_ALL
CtkWidget* ctk_image_menu_item_new_from_stock    (const gchar      *stock_id,
                                                  CtkAccelGroup    *accel_group);
CDK_AVAILABLE_IN_ALL
void       ctk_image_menu_item_set_always_show_image (CtkImageMenuItem *image_menu_item,
                                                      gboolean          always_show);
CDK_AVAILABLE_IN_ALL
gboolean   ctk_image_menu_item_get_always_show_image (CtkImageMenuItem *image_menu_item);
CDK_AVAILABLE_IN_ALL
void       ctk_image_menu_item_set_image         (CtkImageMenuItem *image_menu_item,
                                                  CtkWidget        *image);
CDK_AVAILABLE_IN_ALL
CtkWidget* ctk_image_menu_item_get_image         (CtkImageMenuItem *image_menu_item);
CDK_AVAILABLE_IN_ALL
void       ctk_image_menu_item_set_use_stock     (CtkImageMenuItem *image_menu_item,
						  gboolean          use_stock);
CDK_AVAILABLE_IN_ALL
gboolean   ctk_image_menu_item_get_use_stock     (CtkImageMenuItem *image_menu_item);
CDK_AVAILABLE_IN_ALL
void       ctk_image_menu_item_set_accel_group   (CtkImageMenuItem *image_menu_item, 
						  CtkAccelGroup    *accel_group);

G_END_DECLS

#endif /* __CTK_IMAGE_MENU_ITEM_H__ */
