// -*- c++ -*-
/*  Generated by gensig from calendar.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_CALENDAR_HEADER
#define GTKMM_CALENDAR_HEADER
/* $Id: calendar.gen_h,v 1.11.2.1 1999/03/20 04:59:13 terop Exp $ */

/* calendar.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--/widget.h>
#include <gtk/gtkcalendar.h>

class Gtk_Calendar_Class;
#line 25 "calendar.gen_h"

class Gtk_Calendar : public Gtk_Widget {
public:
protected:
  typedef Gtk_Calendar_Class    CppClassType;
  typedef GtkCalendar           BaseObjectType;
  typedef GtkCalendarClass      BaseClassType;

  virtual void *get_parent_class();

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

public:


  Gtk_Calendar();
  Gtk_Calendar(GtkCalendar *castitem);

  gint	   select_month	(guint	      month,
			 guint	      year);
  void	   select_day	(guint	      day);

  gint	   mark_day	(guint	      day);
  gint	   unmark_day	(guint	      day);
  void	   clear_marks	();

  void	   display_options (GtkCalendarDisplayOptions flags);

  void	   get_date	(guint	     *year,
			 guint	     *month,
			 guint	     *day) const;
  void	   freeze	();
  void	   thaw		();


  Signal_proxy0<BaseObjectType> month_changed;
  Signal_proxy0<BaseObjectType> day_selected;
  Signal_proxy0<BaseObjectType> day_selected_double_click;
  Signal_proxy0<BaseObjectType> prev_month;
  Signal_proxy0<BaseObjectType> next_month;
  Signal_proxy0<BaseObjectType> prev_year;
  Signal_proxy0<BaseObjectType> next_year;
protected:
  /* impl functions */
  virtual void month_changed_impl();
  virtual void day_selected_impl();
  virtual void day_selected_double_click_impl();
  virtual void prev_month_impl();
  virtual void next_month_impl();
  virtual void prev_year_impl();
  virtual void next_year_impl();
public:
  GtkCalendar* gtkobj() { return GTK_CALENDAR(gtkobject); }
  const GtkCalendar* gtkobj() const { return GTK_CALENDAR(gtkobject); }
  static bool isGtkCalendar(Gtk_Object *checkcast);
#line 57 "calendar.gen_h"

};

#endif
