// -*- c++ -*-
/*  Generated by gensig from checkmenuitem.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_CHECKMENUITEM_HEADER
#define GTKMM_CHECKMENUITEM_HEADER
/* $Id: checkmenuitem.gen_h,v 1.22.2.2 1999/09/09 17:49:57 tdukes Exp $ */

/* checkmenuitem.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--/menuitem.h>
#include <gtk/gtkcheckmenuitem.h>

class Gtk_CheckMenuItem_Class;
#line 25 "checkmenuitem.gen_h"

class Gtk_CheckMenuItem : public Gtk_MenuItem {
public:
protected:
  typedef Gtk_CheckMenuItem_Class    CppClassType;
  typedef GtkCheckMenuItem           BaseObjectType;
  typedef GtkCheckMenuItemClass      BaseClassType;

  virtual void *get_parent_class();

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

public:


  Gtk_CheckMenuItem();
  Gtk_CheckMenuItem(GtkCheckMenuItem *castitem);
  Gtk_CheckMenuItem(const _gtk_string &label);

  void set_state (GtkStateType state) { Gtk_Widget::set_state ( state ); }
  void set_state (bool state) { set_active(state); }

  void set_active      (bool state);
  void set_show_toggle (bool always);

  //- Triggered when the item changes state
  //- (Note : changing the item's state with {set_active()}
  //- will also trigger this signal).
  Signal_proxy0<BaseObjectType> toggled;
  //- Triggered when the item is redrawn (e.g.after being toggled)
  //- Overload this signal if you want to implement your own check item
  //- look. Otherwise, you most likely don't care about it.
  //- The GdkRectangle specifies the area of the widget which will get
  //- redrawn.
  Signal_proxy1<BaseObjectType,GdkRectangle*> draw_indicator;
protected:
  /* impl functions */
  virtual void toggled_impl();
  virtual void draw_indicator_impl(GdkRectangle* p1);
public:
  GtkCheckMenuItem* gtkobj() { return GTK_CHECK_MENU_ITEM(gtkobject); }
  const GtkCheckMenuItem* gtkobj() const { return GTK_CHECK_MENU_ITEM(gtkobject); }
  static bool isGtkCheckMenuItem(Gtk_Object *checkcast);
#line 50 "checkmenuitem.gen_h"


};

#endif
