/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* This file is part of the GtkHTML library. Copyright (C) 2000 Helix Code, Inc. Authors: Radek Doulik (rodo@helixcode.com) 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; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _UTILS_H_ #define _UTILS_H_ #include #include "gtkhtml.h" #include "control-data.h" #define GTKHTML_STOCK_TEST_URL "gtkhtml-stock-test-url" GtkWidget *color_table_new (GtkSignalFunc f, gpointer data); GtkWidget *sample_frame (GtkHTML **html); void url_requested (GtkHTML *html, const gchar *url, GtkHTMLStream *handle); GtkWidget *editor_hig_inner_hbox (gchar *text, GtkWidget *control); GtkWidget *editor_hig_vbox (gchar *text, GtkWidget *control); GtkWidget *editor_hig_vbox_full (gchar *text, GtkWidget *control, gboolean vexpand); void editor_hig_attach_row (GtkWidget *table, gchar *text, GtkWidget *control, int row); gboolean editor_has_html_object (GtkHTMLControlData *cd, HTMLObject *o); void editor_check_stock (void); #endif