// -*- c++ -*-
/*  Generated by gensig from menuitem.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_MENUITEM_HEADER
#define GTKMM_MENUITEM_HEADER
/* $Id: menuitem.gen_h,v 1.21.2.1 1999/03/20 04:59:45 terop Exp $ */

/* menuitem.h
 * 
 * Copyright (C) 1998-1999 
 *
 * This library is free software; you can redistribute it and/or
 * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <gtk--/item.h>
#include <gtk/gtkmenuitem.h>

class Gtk_Menu;

class Gtk_MenuItem_Class;
#line 27 "menuitem.gen_h"



class Gtk_MenuItem : public Gtk_Item {
public:
protected:
  typedef Gtk_MenuItem_Class    CppClassType;
  typedef GtkMenuItem           BaseObjectType;
  typedef GtkMenuItemClass      BaseClassType;

  virtual void *get_parent_class();

private:
  friend CppClassType;
  static CppClassType menu_item_class; 
  GtkType get_type(); 

public:


  Gtk_MenuItem();
  Gtk_MenuItem(GtkMenuItem *castitem);
  Gtk_MenuItem(const string &label);

  void set_submenu   (const Gtk_Menu &submenu);
  void remove_submenu();
  void set_placement (GtkSubmenuPlacement placement);

#line 46 "menuitem.gen_h"

  void configure(gint show_toggle_indicator,
		 gint show_submenu_indicator);

#if 0
  // gtk_menu_item_(de)select are just a wrapper for gtk_item_(de)select
  // and defined in Gtk_Item, so they do not be redefined here
  void select();
  void deselect();
#endif
  void right_justify();
  
  Signal_proxy0<BaseObjectType> activate;
protected:
  /* impl functions */
  virtual void activate_impl();
public:
  GtkMenuItem* gtkobj() { return GTK_MENU_ITEM(gtkobject); }
  const GtkMenuItem* gtkobj() const { return GTK_MENU_ITEM(gtkobject); }
  static bool isGtkMenuItem(Gtk_Object *checkcast);
#line 59 "menuitem.gen_h"

};

#endif
