Graphviz 13.0.0~dev.20241222.1117
Loading...
Searching...
No Matches
gui.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "gui.h"
#include <glade/glade.h>
#include <gdk/gdkkeysyms.h>
#include <gdk/gdk.h>
#include "viewport.h"
#include <util/alloc.h>
#include <util/strview.h>
Include dependency graph for gui.c:

Go to the source code of this file.

Functions

void Color_Widget_bg (char *colorstring, GtkWidget *widget)
 
void load_graph_properties (void)
 
void show_gui_warning (char *str)
 
int openfiledlg (char **filename)
 
int savefiledlg (char **filename)
 
void append_textview (GtkTextView *textv, const char *s, size_t bytes)
 

Variables

GladeXML * xml
 

Function Documentation

◆ append_textview()

void append_textview ( GtkTextView *  textv,
const char *  s,
size_t  bytes 
)

Definition at line 104 of file gui.c.

Referenced by outfn().

Here is the caller graph for this function:

◆ Color_Widget_bg()

void Color_Widget_bg ( char *  colorstring,
GtkWidget *  widget 
)

Definition at line 24 of file gui.c.

References color().

Referenced by attr_list_new(), filter_attributes(), and set_header_text().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ load_graph_properties()

void load_graph_properties ( void  )

Definition at line 32 of file gui.c.

References topview::Graphdata, _graph_data::GraphFileName, _ViewInfo::Topview, view, and xml.

Referenced by mGraphPropertiesSlot().

Here is the caller graph for this function:

◆ openfiledlg()

int openfiledlg ( char **  filename)

generic open file dialog

Parameters
[out]filenameSelected filename on success. Caller should g_free this.
Returns
Non-zero on success.

Definition at line 56 of file gui.c.

References NULL.

Referenced by on_gvprbuttonload_clicked().

Here is the caller graph for this function:

◆ savefiledlg()

int savefiledlg ( char **  filename)

generic save file dialog

Parameters
[out]filenameSelected filename on success. Caller should g_free this.
Returns
Non-zero on success.

Definition at line 80 of file gui.c.

References NULL.

Referenced by on_gvprbuttonsave_clicked().

Here is the caller graph for this function:

◆ show_gui_warning()

void show_gui_warning ( char *  str)

Definition at line 39 of file gui.c.

References NULL, and str.

Referenced by on_gvprbuttonload_clicked().

Here is the caller graph for this function:

Variable Documentation

◆ xml