Graphviz 12.1.0~dev.20240716.0947
Loading...
Searching...
No Matches
menucallbacks.c File Reference
#include "menucallbacks.h"
#include "viewport.h"
#include "tvnodes.h"
#include "gvprpipe.h"
#include "topviewsettings.h"
#include "gltemplate.h"
#include <common/const.h>
#include <cgraph/agxbuf.h>
#include <assert.h>
#include <ctype.h>
#include <glib.h>
#include <stdlib.h>
#include "frmobjectui.h"
Include dependency graph for menucallbacks.c:

Go to the source code of this file.

Functions

void mAttributesSlot (GtkWidget *widget, gpointer user_data)
 
void mOpenSlot (GtkWidget *widget, gpointer user_data)
 
void mSaveSlot (GtkWidget *widget, gpointer user_data)
 
void mSaveAsSlot (GtkWidget *widget, gpointer user_data)
 
void mCloseSlot (GtkWidget *widget, gpointer user_data)
 
void mOptionsSlot (GtkWidget *widget, gpointer user_data)
 
void mQuitSlot (GtkWidget *widget, gpointer user_data)
 
void mCutSlot (GtkWidget *widget, gpointer user_data)
 
void mCopySlot (GtkWidget *widget, gpointer user_data)
 
void mPasteSlot (GtkWidget *widget, gpointer user_data)
 
void mDeleteSlot (GtkWidget *widget, gpointer user_data)
 
void mTopviewSettingsSlot (GtkWidget *widget, gpointer user_data)
 
void mShowToolBoxSlot (GtkWidget *widget, gpointer user_data)
 
void mShowConsoleSlot (GtkWidget *widget, gpointer user_data)
 
void mNodeListSlot (GtkWidget *widget, gpointer user_data)
 
void mNewNodeSlot (GtkWidget *widget, gpointer user_data)
 
void mNewEdgeSlot (GtkWidget *widget, gpointer user_data)
 
void mNewClusterSlot (GtkWidget *widget, gpointer user_data)
 
void mGraphPropertiesSlot (GtkWidget *widget, gpointer user_data)
 
void mNodeFindSlot (GtkWidget *widget, gpointer user_data)
 
static void mPropertiesSlot (void)
 
void mClusterPropertiesSlot (GtkWidget *widget, gpointer user_data)
 
void mNodePropertiesSlot (GtkWidget *widget, gpointer user_data)
 
void mEdgePropertiesSlot (GtkWidget *widget, gpointer user_data)
 
void mShowCodeSlot (GtkWidget *widget, gpointer user_data)
 
void mAbout (GtkWidget *widget, gpointer user_data)
 
void change_cursor (GdkCursorType C)
 
void mTestgvpr (GtkWidget *widget, gpointer user_data)
 
void on_gvprbuttonload_clicked (GtkWidget *widget, gpointer user_data)
 
void on_gvprbuttonsave_clicked (GtkWidget *widget, gpointer user_data)
 

Function Documentation

◆ change_cursor()

void change_cursor ( GdkCursorType  C)

Definition at line 267 of file menucallbacks.c.

References C, _ViewInfo::drawing_area, and view.

Referenced by windowedMode().

Here is the caller graph for this function:

◆ mAbout()

void mAbout ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 261 of file menucallbacks.c.

◆ mAttributesSlot()

void mAttributesSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 26 of file menucallbacks.c.

References showAttrsWidget().

Here is the call graph for this function:

◆ mCloseSlot()

void mCloseSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 81 of file menucallbacks.c.

References _ViewInfo::activeGraph, close_graph(), and view.

Here is the call graph for this function:

◆ mClusterPropertiesSlot()

void mClusterPropertiesSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 231 of file menucallbacks.c.

References mPropertiesSlot().

Here is the call graph for this function:

◆ mCopySlot()

void mCopySlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 112 of file menucallbacks.c.

◆ mCutSlot()

void mCutSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 106 of file menucallbacks.c.

◆ mDeleteSlot()

void mDeleteSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 124 of file menucallbacks.c.

◆ mEdgePropertiesSlot()

void mEdgePropertiesSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 247 of file menucallbacks.c.

References mPropertiesSlot().

Here is the call graph for this function:

◆ mGraphPropertiesSlot()

void mGraphPropertiesSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 197 of file menucallbacks.c.

References _ViewInfo::activeGraph, load_graph_properties(), view, and xml.

Here is the call graph for this function:

◆ mNewClusterSlot()

void mNewClusterSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 191 of file menucallbacks.c.

◆ mNewEdgeSlot()

void mNewEdgeSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 185 of file menucallbacks.c.

◆ mNewNodeSlot()

void mNewNodeSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 179 of file menucallbacks.c.

◆ mNodeFindSlot()

void mNodeFindSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 219 of file menucallbacks.c.

◆ mNodeListSlot()

void mNodeListSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 170 of file menucallbacks.c.

References _ViewInfo::activeGraph, _ViewInfo::g, setup_tree(), view, and xml.

Here is the call graph for this function:

◆ mNodePropertiesSlot()

void mNodePropertiesSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 239 of file menucallbacks.c.

References mPropertiesSlot().

Here is the call graph for this function:

◆ mOpenSlot()

void mOpenSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 34 of file menucallbacks.c.

References add_graph_to_viewport_from_file(), and NULL.

Here is the call graph for this function:

◆ mOptionsSlot()

void mOptionsSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 90 of file menucallbacks.c.

◆ mPasteSlot()

void mPasteSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 118 of file menucallbacks.c.

◆ mPropertiesSlot()

static void mPropertiesSlot ( void  )
static

Definition at line 225 of file menucallbacks.c.

References _ViewInfo::activeGraph, view, and xml.

Referenced by mClusterPropertiesSlot(), mEdgePropertiesSlot(), and mNodePropertiesSlot().

Here is the caller graph for this function:

◆ mQuitSlot()

void mQuitSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 96 of file menucallbacks.c.

References close_graph(), and view.

Referenced by windowedMode().

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

◆ mSaveAsSlot()

void mSaveAsSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 73 of file menucallbacks.c.

References save_as_graph().

Here is the call graph for this function:

◆ mSaveSlot()

void mSaveSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 65 of file menucallbacks.c.

References save_graph().

Here is the call graph for this function:

◆ mShowCodeSlot()

void mShowCodeSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 255 of file menucallbacks.c.

◆ mShowConsoleSlot()

void mShowConsoleSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 148 of file menucallbacks.c.

References state, and xml.

◆ mShowToolBoxSlot()

void mShowToolBoxSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 137 of file menucallbacks.c.

References configure_gl(), _ViewInfo::drawing_area, view, and xml.

Here is the call graph for this function:

◆ mTestgvpr()

void mTestgvpr ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 276 of file menucallbacks.c.

References _ViewInfo::activeGraph, cloneGraph(), _ViewInfo::g, run_gvpr(), view, and xml.

Here is the call graph for this function:

◆ mTopviewSettingsSlot()

void mTopviewSettingsSlot ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 129 of file menucallbacks.c.

References show_settings_form().

Here is the call graph for this function:

◆ on_gvprbuttonload_clicked()

void on_gvprbuttonload_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 347 of file menucallbacks.c.

References agxbfree(), agxbput(), agxbuse(), NULL, openfiledlg(), show_gui_warning(), str, xbuf, and xml.

Here is the call graph for this function:

◆ on_gvprbuttonsave_clicked()

void on_gvprbuttonsave_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 388 of file menucallbacks.c.

References free(), NULL, savefiledlg(), and xml.

Here is the call graph for this function: