Graphviz 13.0.0~dev.20241222.1117
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 <assert.h>
#include <ctype.h>
#include <glib.h>
#include <stdlib.h>
#include "frmobjectui.h"
#include <util/agxbuf.h>
Include dependency graph for menucallbacks.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ change_cursor()

void change_cursor ( GdkCursorType  C)

Definition at line 242 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,
void *  user_data 
)

Definition at line 237 of file menucallbacks.c.

◆ mAttributesSlot()

void mAttributesSlot ( GtkWidget *  widget,
void *  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,
void *  user_data 
)

Definition at line 77 of file menucallbacks.c.

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

Here is the call graph for this function:

◆ mClusterPropertiesSlot()

void mClusterPropertiesSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 211 of file menucallbacks.c.

References mPropertiesSlot().

Here is the call graph for this function:

◆ mCopySlot()

void mCopySlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 104 of file menucallbacks.c.

◆ mCutSlot()

void mCutSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 99 of file menucallbacks.c.

◆ mDeleteSlot()

void mDeleteSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 114 of file menucallbacks.c.

◆ mEdgePropertiesSlot()

void mEdgePropertiesSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 225 of file menucallbacks.c.

References mPropertiesSlot().

Here is the call graph for this function:

◆ mGraphPropertiesSlot()

void mGraphPropertiesSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 179 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,
void *  user_data 
)

Definition at line 174 of file menucallbacks.c.

◆ mNewEdgeSlot()

void mNewEdgeSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 169 of file menucallbacks.c.

◆ mNewNodeSlot()

void mNewNodeSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 164 of file menucallbacks.c.

◆ mNodeFindSlot()

void mNodeFindSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 200 of file menucallbacks.c.

◆ mNodeListSlot()

void mNodeListSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 156 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,
void *  user_data 
)

Definition at line 218 of file menucallbacks.c.

References mPropertiesSlot().

Here is the call graph for this function:

◆ mOpenSlot()

void mOpenSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 33 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,
void *  user_data 
)

Definition at line 85 of file menucallbacks.c.

◆ mPasteSlot()

void mPasteSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 109 of file menucallbacks.c.

◆ mPropertiesSlot()

static void mPropertiesSlot ( void  )
static

Definition at line 205 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,
void *  user_data 
)

Definition at line 90 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,
void *  user_data 
)

Definition at line 70 of file menucallbacks.c.

References save_as_graph().

Here is the call graph for this function:

◆ mSaveSlot()

void mSaveSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 63 of file menucallbacks.c.

References save_graph().

Here is the call graph for this function:

◆ mShowCodeSlot()

void mShowCodeSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 232 of file menucallbacks.c.

◆ mShowConsoleSlot()

void mShowConsoleSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 135 of file menucallbacks.c.

References xml.

◆ mShowToolBoxSlot()

void mShowToolBoxSlot ( GtkWidget *  widget,
void *  user_data 
)

Definition at line 125 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,
void *  user_data 
)

Definition at line 251 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,
void *  user_data 
)

Definition at line 118 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,
void *  user_data 
)

Definition at line 321 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,
void *  user_data 
)

Definition at line 361 of file menucallbacks.c.

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

Here is the call graph for this function: