Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | gtk_nodes_node_view_new () |
gboolean | gtk_nodes_node_view_save () |
gboolean | gtk_nodes_node_view_load () |
The GtkNodesNodeView widget is a viewer and connection manager for GtkNodesNode widgets.
gboolean gtk_nodes_node_view_save (GtkNodesNodeView *node_view
,const gchar *filename
);
Saves a representation of the current node view setup as XML so it can be recreated with gtkbuilder This only works properly for nodes which are their own widget types, as we don't (and can't) in-depth clone the nodes
gboolean gtk_nodes_node_view_load (GtkNodesNodeView *node_view
,const gchar *filename
);
Loads an XML description parseable by GtkBuilder and reconstructs a node configuration. Note that this will not restore the internal state of any nodes, but only their placement and the connections between sockets.
This only works properly for nodes which are their own widget types.
“node-drag-begin”
signalvoid user_function (GtkNodesNodeView *nodesnodeview, GtkNodesNode *arg1, gpointer user_data)
Flags: Run First
“node-drag-end”
signalvoid user_function (GtkNodesNodeView *nodesnodeview, GtkNodesNode *arg1, gpointer user_data)
Flags: Run First