// -*- c++ -*-
/*  Generated by gensig from checkbutton.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_CHECKBUTTON_HEADER
#define GTKMM_CHECKBUTTON_HEADER
/* $Id: checkbutton.gen_h,v 1.17.2.1 1999/03/20 04:59:14 terop Exp $ */

/* checkbutton.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--/togglebutton.h>
#include <gtk/gtkcheckbutton.h>
class Gtk_CheckButton_Class;
#line 24 "checkbutton.gen_h"

//: Button with indicator
class Gtk_CheckButton : public Gtk_ToggleButton {
public:
protected:
  typedef Gtk_CheckButton_Class    CppClassType;
  typedef GtkCheckButton           BaseObjectType;
  typedef GtkCheckButtonClass      BaseClassType;

  virtual void *get_parent_class();

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

public:


  //: Create an empty check button. 
  //- With an empty button, you can {Gtk_Button::add()} a widget
  //- such as a {\page Gtk_Pixmap} or {\page Gtk_Box}. 
  //-
  //- If you just wish to add a {\class Gtk_Label},
  //- you may want to
  //- use the {\decl Gtk_CheckButton(const string &label)} ctor 
  //- directly instead.
  Gtk_CheckButton();

  //: Create a check button with a label. 
  //- You won't be able
  //- to add a widget in this button since it already has a {\class Gtk_Label}
  //- in it.
  Gtk_CheckButton(const string &label);

  Gtk_CheckButton(GtkCheckButton *castitem);

  //: Emited on button redraw to update indicator.
  //- Triggered when the button is redrawn (e.g.after being toggled)
  //- Overload this signal if you want to implement your own check button
  //- 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 draw_indicator_impl(GdkRectangle* p1);
public:
  GtkCheckButton* gtkobj() { return GTK_CHECK_BUTTON(gtkobject); }
  const GtkCheckButton* gtkobj() const { return GTK_CHECK_BUTTON(gtkobject); }
  static bool isGtkCheckButton(Gtk_Object *checkcast);
#line 56 "checkbutton.gen_h"

};


#endif
