// -*- c++ -*-
/*  Generated by gensig from rc.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_RC_HEADER
#define GTKMM_RC_HEADER
/* $Id: rc.gen_h,v 1.15 1999/02/08 07:56:17 glaurent Exp $ */

/* rc.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--/style.h>
#include <gtk--/widget.h>
//#include <gtk/gtkgc.h>
#include <gtk/gtkrc.h>
#line 26 "rc.gen_h"


#line 29 "rc.gen_h"
class Gtk_RcStyle
{
public:
  Gtk_RcStyle();
  void ref();
  void unref();

  const GtkRcStyle* gtkobj() const { return rc_style_; }
  GtkRcStyle* gtkobj() { return rc_style_; }

protected:
  GtkRcStyle *rc_style_;
};
#line 43 "rc.gen_h"

class Gtk_RC
{
public:
  Gtk_RC(const string &filename);

  static Gtk_ObjectHandle<Gtk_Style> get_style(const Gtk_Widget &widget);

  static void parse_string(const string &rc_string);
  
#line 54 "rc.gen_h"
  static void add_default_file      (const string &filename);
  static void set_default_files     (const vector<string> &filenames);
  
  static vector<string> get_default_files  ();
  
  static void add_widget_name_style (const Gtk_RcStyle &style,
				     const string &pattern);

  static void add_widget_class_style(const Gtk_RcStyle &style,
				     const string &pattern);

  static void add_class_style       (const Gtk_RcStyle &style,
				     const string &pattern);

  static bool reparse_all();

  static void set_image_loader     (GtkImageLoader loader);

  static Gdk_Pixmap load_image     (Gdk_Colormap &colormap,
				    const Gdk_Color    &transparent_color,
				    const string &filename);

  static string find_pixmap_in_path(GScanner *scanner,
				     const string &pixmap_file);
  static string find_module_in_path(const string &pixmap_file);

  static string get_theme_dir  ();

  static string get_module_dir ();
  
#line 91 "rc.gen_h"
};

#endif
