Lines Matching defs:act

118    // If no drag or no dragger selected, act on selection
605 static void gr_linked_changed(GtkToggleAction *act, gpointer /*data*/)
607 gboolean active = gtk_toggle_action_get_active( act );
609 g_object_set( G_OBJECT(act), "iconId", INKSCAPE_ICON("object-locked"), NULL );
611 g_object_set( G_OBJECT(act), "iconId", INKSCAPE_ICON("object-unlocked"), NULL );
681 EgeAdjustmentAction* act = (EgeAdjustmentAction *)g_object_get_data( G_OBJECT(data), "offset_action");
682 if (act) {
683 gtk_action_set_sensitive( GTK_ACTION(act), FALSE);
849 EgeAdjustmentAction* act = (EgeAdjustmentAction *)g_object_get_data( G_OBJECT(data), "offset_action");
850 if (!act) {
854 GtkAdjustment *adj = ege_adjustment_action_get_adjustment(act);
878 gtk_action_set_sensitive( GTK_ACTION(act), !isEndStop );
889 static void gr_new_type_changed( EgeSelectOneAction *act, GObject * /*tbl*/ )
892 gint typemode = ege_select_one_action_get_active( act ) == 0 ? SP_GRADIENT_TYPE_LINEAR : SP_GRADIENT_TYPE_RADIAL;
896 static void gr_new_fillstroke_changed( EgeSelectOneAction *act, GObject * /*tbl*/ )
899 Inkscape::PaintTarget fsmode = (ege_select_one_action_get_active( act ) == 0) ? Inkscape::FOR_FILL : Inkscape::FOR_STROKE;
906 static void gr_gradient_combo_changed(EgeSelectOneAction *act, gpointer data)
913 gint n = ege_select_one_action_get_active(act);
914 GtkTreeModel *model = ege_select_one_action_get_model(act);
935 static void gr_spread_change(EgeSelectOneAction *act, GtkWidget *widget)
947 SPGradientSpread spread = (SPGradientSpread) ege_select_one_action_get_active(act);
1043 EgeSelectOneAction* act = ege_select_one_action_new( "GradientNewTypeAction", (""), (""), NULL, GTK_TREE_MODEL(model) );
1044 g_object_set( act, "short_label", _("New:"), NULL );
1045 gtk_action_group_add_action( mainActions, GTK_ACTION(act) );
1046 g_object_set_data( holder, "gradient_new_type_action", act );
1048 ege_select_one_action_set_appearance( act, "full" );
1049 ege_select_one_action_set_radio_action_type( act, INK_RADIO_ACTION_TYPE );
1050 g_object_set( G_OBJECT(act), "icon-property", "iconId", NULL );
1051 ege_select_one_action_set_icon_column( act, 2 );
1052 ege_select_one_action_set_tooltip_column( act, 1 );
1056 ege_select_one_action_set_active( act, mode );
1057 g_signal_connect_after( G_OBJECT(act), "changed", G_CALLBACK(gr_new_type_changed), holder );
1073 EgeSelectOneAction* act = ege_select_one_action_new( "GradientNewFillStrokeAction", (""), (""), NULL, GTK_TREE_MODEL(model) );
1074 g_object_set( act, "short_label", _("on:"), NULL );
1075 gtk_action_group_add_action( mainActions, GTK_ACTION(act) );
1076 g_object_set_data( holder, "gradient_new_fillstroke_action", act );
1078 ege_select_one_action_set_appearance( act, "full" );
1079 ege_select_one_action_set_radio_action_type( act, INK_RADIO_ACTION_TYPE );
1080 g_object_set( G_OBJECT(act), "icon-property", "iconId", NULL );
1081 ege_select_one_action_set_icon_column( act, 2 );
1082 ege_select_one_action_set_tooltip_column( act, 1 );
1086 ege_select_one_action_set_active( act, (fsmode == Inkscape::FOR_FILL) ? 0 : 1 );
1087 g_signal_connect_after( G_OBJECT(act), "changed", G_CALLBACK(gr_new_fillstroke_changed), holder );