2020-04-02 00:32:11 +02:00
|
|
|
/*
|
|
|
|
* This file is part of GtkGraphView.
|
|
|
|
*
|
2020-07-08 17:40:10 +02:00
|
|
|
* GtkGraphView is free software: you can redistribute it and/or modify
|
2020-04-02 00:32:11 +02:00
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* GtkGraphView is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2020-04-02 00:38:14 +02:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2020-04-02 00:32:11 +02:00
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with GtkGraphView. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file gtk-graph-view.h
|
|
|
|
* @brief header file for the GtkGraphView Widget
|
|
|
|
* @author Mario Hüttel <mario.huettel@gmx.net>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @addtogroup GtkGraphView
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GTK_GRAPH_VIEW_H__
|
|
|
|
#define __GTK_GRAPH_VIEW_H__
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define GTK_TYPE_GRAPH_VIEW (gtk_graph_view_get_type())
|
|
|
|
|
2020-04-03 21:43:20 +02:00
|
|
|
G_DECLARE_FINAL_TYPE(GtkGraphView, gtk_graph_view, GTK, GRAPH_VIEW, GtkBox)
|
2020-04-02 00:32:11 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Instanciate new GtkGraphView object
|
|
|
|
* @return created object
|
|
|
|
*/
|
|
|
|
GtkWidget *gtk_graph_view_new();
|
|
|
|
|
2020-04-03 21:43:20 +02:00
|
|
|
/**
|
|
|
|
* @brief Set the background color of the graph view
|
|
|
|
*
|
|
|
|
* This is equivalent to setting the "background-color" property
|
|
|
|
*
|
|
|
|
* @param[in] graph_view GtkGraphView object
|
|
|
|
* @param[in] RGBA background color.
|
|
|
|
*/
|
|
|
|
void gtk_graph_view_set_background_color(GtkGraphView* graph_view, const GdkRGBA *rgba);
|
|
|
|
|
2020-04-02 00:32:11 +02:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_GRAPH_VIEW_H__ */
|
|
|
|
|
|
|
|
/** @} */
|