Graphviz 13.0.0~dev.20241222.1117
Loading...
Searching...
No Matches
gui.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#include "smyrnadefs.h"
14#include <gtk/gtk.h>
15#include <gdk/gdkkeysyms.h>
16#include <gtk/gtkgl.h>
17#include <glade/glade.h>
18#include "callbacks.h"
19#include <cgraph/cgraph.h>
20
21 extern GladeXML *xml; //global libglade vars
22
23 void load_graph_properties(void); //load from graph to gui
24
25//GTK helper functions
26//void Color_Widget_bg (int r, int g, int b, GtkWidget *widget); //change background color
27 void Color_Widget_bg(char *colorstring, GtkWidget * widget);
28/*generic warning pop up*/
29 void show_gui_warning(char *str);
36 int openfiledlg(char **filename);
43 int savefiledlg(char **filename);
44 void append_textview(GtkTextView * textv, const char *s, size_t bytes);
abstract graph C library, Cgraph API
int openfiledlg(char **filename)
Definition gui.c:56
int savefiledlg(char **filename)
Definition gui.c:80
void load_graph_properties(void)
Definition gui.c:32
void Color_Widget_bg(char *colorstring, GtkWidget *widget)
Definition gui.c:24
void show_gui_warning(char *str)
Definition gui.c:39
GladeXML * xml
Definition gui.c:22
void append_textview(GtkTextView *textv, const char *s, size_t bytes)
Definition gui.c:104
textitem scanner parser str
Definition htmlparse.y:224
Definition grammar.c:93