Lines Matching defs:act
76 static void sp_connector_orthogonal_toggled( GtkToggleAction* act, GObject *tbl )
94 bool is_orthog = gtk_toggle_action_get_active( act );
237 static void sp_directed_graph_layout_toggled( GtkToggleAction* act, GObject * /*tbl*/ )
241 gtk_toggle_action_get_active( act ));
244 static void sp_nooverlaps_graph_layout_toggled( GtkToggleAction* act, GObject * /*tbl*/ )
248 gtk_toggle_action_get_active( act ));
288 GtkToggleAction *act = GTK_TOGGLE_ACTION( g_object_get_data( tbl, "orthogonal" ) );
294 gtk_toggle_action_set_active(act, is_orthog);
327 InkToggleAction* act = ink_toggle_action_new( "ConnectorOrthogonalAction",
332 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
335 gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(act), ( tbuttonstate ? TRUE : FALSE ));
336 g_object_set_data( holder, "orthogonal", act );
337 g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_connector_orthogonal_toggled), holder );
388 InkToggleAction* act = ink_toggle_action_new( "ConnectorDirectedAction",
393 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
396 gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(act), ( tbuttonstate ? TRUE : FALSE ));
398 g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_directed_graph_layout_toggled), holder );
404 InkToggleAction* act = ink_toggle_action_new( "ConnectorOverlapAction",
409 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
412 gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(act), (tbuttonstate ? TRUE : FALSE ));
414 g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_nooverlaps_graph_layout_toggled), holder );