Blame gtksourceview/gtksourcepixbufhelper.h

Packit a7d494
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
Packit a7d494
 * gtksourcepixbufhelper.h
Packit a7d494
 * This file is part of GtkSourceView
Packit a7d494
 *
Packit a7d494
 * Copyright (C) 2010 - Jesse van den Kieboom
Packit a7d494
 *
Packit a7d494
 * GtkSourceView is free software; you can redistribute it and/or
Packit a7d494
 * modify it under the terms of the GNU Lesser General Public
Packit a7d494
 * License as published by the Free Software Foundation; either
Packit a7d494
 * version 2.1 of the License, or (at your option) any later version.
Packit a7d494
 *
Packit a7d494
 * GtkSourceView is distributed in the hope that it will be useful,
Packit a7d494
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit a7d494
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit a7d494
 * Lesser General Public License for more details.
Packit a7d494
 *
Packit a7d494
 * You should have received a copy of the GNU Lesser General Public
Packit a7d494
 * License along with this library; if not, write to the Free Software
Packit a7d494
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
Packit a7d494
 */
Packit a7d494
Packit a7d494
#ifndef GTK_SOURCE_PIXBUF_HELPER_H
Packit a7d494
#define GTK_SOURCE_PIXBUF_HELPER_H
Packit a7d494
Packit a7d494
#include <gtk/gtk.h>
Packit a7d494
#include "gtksourcetypes-private.h"
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
GtkSourcePixbufHelper *gtk_source_pixbuf_helper_new (void);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
void gtk_source_pixbuf_helper_free (GtkSourcePixbufHelper *helper);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
void gtk_source_pixbuf_helper_set_pixbuf (GtkSourcePixbufHelper *helper,
Packit a7d494
                                          const GdkPixbuf       *pixbuf);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
GdkPixbuf *gtk_source_pixbuf_helper_get_pixbuf (GtkSourcePixbufHelper *helper);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
void gtk_source_pixbuf_helper_set_stock_id (GtkSourcePixbufHelper *helper,
Packit a7d494
                                            const gchar           *stock_id);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
const gchar *gtk_source_pixbuf_helper_get_stock_id (GtkSourcePixbufHelper *helper);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
void gtk_source_pixbuf_helper_set_icon_name (GtkSourcePixbufHelper *helper,
Packit a7d494
                                             const gchar           *icon_name);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
const gchar *gtk_source_pixbuf_helper_get_icon_name (GtkSourcePixbufHelper *helper);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
void gtk_source_pixbuf_helper_set_gicon (GtkSourcePixbufHelper *helper,
Packit a7d494
                                         GIcon                 *gicon);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
GIcon *gtk_source_pixbuf_helper_get_gicon (GtkSourcePixbufHelper *helper);
Packit a7d494
Packit a7d494
G_GNUC_INTERNAL
Packit a7d494
GdkPixbuf *gtk_source_pixbuf_helper_render (GtkSourcePixbufHelper *helper,
Packit a7d494
                                            GtkWidget             *widget,
Packit a7d494
                                            gint                   size);
Packit a7d494
Packit a7d494
#endif /* GTK_SOURCE_PIXBUF_HELPER_H */
Packit a7d494