Searched defs:act (Results 1 - 25 of 27) sorted by relevance

12

/inkscape/src/widgets/
H A Ddropper-toolbar.cpp46 static void toggle_dropper_pick_alpha( GtkToggleAction* act, gpointer tbl ) argument
49 prefs->setInt( "/tools/dropper/pick", gtk_toggle_action_get_active( act ) );
52 if ( gtk_toggle_action_get_active( act ) ) {
62 static void toggle_dropper_set_alpha( GtkToggleAction* act, gpointer tbl ) argument
65 prefs->setBool( "/tools/dropper/setalpha", gtk_toggle_action_get_active( act ) );
83 EgeOutputAction* act = ege_output_action_new( "DropperOpacityAction", _("Opacity:"), "", 0 ); local
84 ege_output_action_set_use_markup( act, TRUE );
85 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
89 InkToggleAction* act = ink_toggle_action_new( "DropperPickAlphaAction", local
94 g_object_set( act, "short_labe
102 InkToggleAction* act = ink_toggle_action_new( "DropperSetAlphaAction", local
[all...]
H A Dtoolbox.h81 * @param act the widget to synchronize preference with.
86 PrefPusher( GtkToggleAction *act, Glib::ustring const &path, void (*callback)(GObject*) = 0, GObject *cbData = 0 );
103 * @param act the toggle action widget that was changed.
106 static void toggleCB( GtkToggleAction *act, PrefPusher *self );
113 GtkToggleAction *act; member in class:Inkscape::UI::PrefPusher
H A Deraser-toolbar.cpp67 static void sp_erasertb_mode_changed( EgeSelectOneAction *act, GObject *tbl ) argument
70 bool eraserMode = ege_select_one_action_get_active( act ) != 0;
103 static void sp_toogle_break_apart( GtkToggleAction* act, gpointer data ) argument
106 gboolean active = gtk_toggle_action_get_active(act);
132 EgeSelectOneAction* act = ege_select_one_action_new( "EraserModeAction", (""), (""), NULL, GTK_TREE_MODEL(model) ); local
133 g_object_set( act, "short_label", _("Mode:"), NULL );
134 gtk_action_group_add_action( mainActions, GTK_ACTION(act) );
135 g_object_set_data( holder, "eraser_mode_action", act );
137 ege_select_one_action_set_appearance( act, "full" );
138 ege_select_one_action_set_radio_action_type( act, INK_RADIO_ACTION_TYP
185 InkToggleAction* act = ink_toggle_action_new( "EraserBreakAppart", local
[all...]
H A Dmeasure-toolbar.cpp137 sp_measure_unit_changed(GtkAction* /*act*/, GObject* tbl)
150 sp_toggle_ignore_1st_and_last( GtkToggleAction* act, gpointer data ) argument
153 gboolean active = gtk_toggle_action_get_active(act);
168 sp_toggle_show_hidden( GtkToggleAction* act, gpointer data ) argument
171 gboolean active = gtk_toggle_action_get_active(act);
186 sp_toggle_all_layers( GtkToggleAction* act, gpointer data ) argument
189 gboolean active = gtk_toggle_action_get_active(act);
204 sp_toggle_show_in_between( GtkToggleAction* act, gpointer data ) argument
207 gboolean active = gtk_toggle_action_get_active(act);
286 EgeOutputAction* act local
294 GtkAction* act = tracker->createAction( "MeasureUnitsAction", _("Units:"), _("The units to be used for the measurements") ); local
340 InkToggleAction* act = ink_toggle_action_new( "MeasureIgnore1stAndLast", local
351 InkToggleAction* act = ink_toggle_action_new( "MeasureShowHidden", local
362 InkToggleAction* act = ink_toggle_action_new( "MeasureInBettween", local
373 InkToggleAction* act = ink_toggle_action_new( "MeasureAllLayers", local
384 InkAction* act = ink_action_new( "MeasureReverse", local
394 InkAction* act = ink_action_new( "MeasureToPhantom", local
404 InkAction* act = ink_action_new( "MeasureToGuides", local
414 InkAction* act = ink_action_new( "MeasureMarkDimension", local
424 InkAction* act = ink_action_new( "MeasureToItem", local
[all...]
H A Dpaintbucket-toolbar.cpp58 static void paintbucket_channels_changed(EgeSelectOneAction* act, GObject* /*tbl*/) argument
60 gint channels = ege_select_one_action_get_active( act );
71 static void paintbucket_autogap_changed(EgeSelectOneAction* act, GObject * /*tbl*/) argument
74 prefs->setBool("/tools/paintbucket/autogap", ege_select_one_action_get_active( act ));
167 GtkAction* act = tracker->createAction( "PaintbucketUnitsAction", _("Units"), ("") ); local
168 gtk_action_group_add_action( mainActions, act );
210 GtkAction* act = gtk_action_new( "PaintbucketResetAction", local
214 g_signal_connect_after( G_OBJECT(act), "activate", G_CALLBACK(paintbucket_defaults), holder );
215 gtk_action_group_add_action( mainActions, act );
216 gtk_action_set_sensitive( act, TRU
[all...]
H A Dspiral-toolbar.cpp207 EgeOutputAction* act = EGE_OUTPUT_ACTION( g_object_get_data( tbl, "mode_action" ) ); local
210 g_object_set( G_OBJECT(act), "label", _("<b>New:</b>"), NULL );
212 g_object_set( G_OBJECT(act), "label", _("<b>Change:</b>"), NULL );
223 g_object_set( G_OBJECT(act), "label", _("<b>Change:</b>"), NULL );
234 EgeOutputAction* act = ege_output_action_new( "SpiralStateAction", _("<b>New:</b>"), "", 0 ); local
235 ege_output_action_set_use_markup( act, TRUE );
236 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
237 g_object_set_data( holder, "mode_action", act );
H A Dtweak-toolbar.cpp68 static void sp_tweak_pressure_state_changed( GtkToggleAction *act, gpointer /*data*/ ) argument
71 prefs->setBool("/tools/tweak/usepressure", gtk_toggle_action_get_active(act));
74 static void sp_tweak_mode_changed( EgeSelectOneAction *act, GObject *tbl ) argument
76 int mode = ege_select_one_action_get_active( act );
83 GtkAction *act = GTK_ACTION(g_object_get_data( tbl, names[i] )); local
84 if (act) {
85 gtk_action_set_visible(act, flag);
101 static void tweak_toggle_doh(GtkToggleAction *act, gpointer /*data*/) { argument
103 prefs->setBool("/tools/tweak/doh", gtk_toggle_action_get_active(act));
105 static void tweak_toggle_dos(GtkToggleAction *act, gpointe argument
109 tweak_toggle_dol(GtkToggleAction *act, gpointer ) argument
113 tweak_toggle_doo(GtkToggleAction *act, gpointer ) argument
253 EgeSelectOneAction* act = ege_select_one_action_new( "TweakModeAction", _("Mode"), (""), NULL, GTK_TREE_MODEL(model) ); local
269 g_object_set_data( G_OBJECT(holder), "tweak_tool_mode", act); local
275 EgeOutputAction* act = ege_output_action_new( "TweakChannelsLabel", _("Channels:"), "", 0 ); local
285 InkToggleAction* act = ink_toggle_action_new( "TweakDoH", local
301 InkToggleAction* act = ink_toggle_action_new( "TweakDoS", local
317 InkToggleAction* act = ink_toggle_action_new( "TweakDoL", local
333 InkToggleAction* act = ink_toggle_action_new( "TweakDoO", local
371 InkToggleAction* act = ink_toggle_action_new( "TweakPressureAction", local
[all...]
H A Darc-toolbar.cpp147 static void sp_arctb_open_state_changed( EgeSelectOneAction *act, GObject *tbl ) argument
152 prefs->setBool("/tools/shapes/arc/open", ege_select_one_action_get_active(act) != 0);
165 if ( ege_select_one_action_get_active(act) != 0 ) {
276 EgeOutputAction* act = EGE_OUTPUT_ACTION( g_object_get_data( tbl, "mode_action" ) ); local
280 g_object_set( G_OBJECT(act), "label", _("<b>New:</b>"), NULL );
283 g_object_set( G_OBJECT(act), "label", _("<b>Change:</b>"), NULL );
294 g_object_set( G_OBJECT(act), "label", _("<b>Change:</b>"), NULL );
310 EgeOutputAction* act = ege_output_action_new( "ArcStateAction", _("<b>New:</b>"), "", 0 ); local
311 ege_output_action_set_use_markup( act, TRUE );
312 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
361 EgeSelectOneAction* act = ege_select_one_action_new( "ArcOpenAction", (""), (""), NULL, GTK_TREE_MODEL(model) ); local
[all...]
H A Dbox3d-toolbar.cpp72 GtkAction *act,
82 gtk_action_set_sensitive(act, TRUE);
90 gtk_action_set_sensitive(act, FALSE);
103 GtkAction *act = 0; local
112 act = GTK_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_angle_x_action"));
115 box3d_set_button_and_adjustment(persp, Proj::X, adj, act, tact);
119 act = GTK_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_angle_y_action"));
122 box3d_set_button_and_adjustment(persp, Proj::Y, adj, act, tact);
126 act = GTK_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_angle_z_action"));
129 box3d_set_button_and_adjustment(persp, Proj::Z, adj, act, tac
69 box3d_set_button_and_adjustment(Persp3D *persp, Proj::Axis axis, GtkAdjustment *adj, GtkAction *act, GtkToggleAction *tact) argument
255 box3d_vp_state_changed( GtkToggleAction *act, GtkAction * , Proj::Axis axis ) argument
269 box3d_vp_x_state_changed( GtkToggleAction *act, GtkAction *box3d_angle ) argument
274 box3d_vp_y_state_changed( GtkToggleAction *act, GtkAction *box3d_angle ) argument
279 box3d_vp_z_state_changed( GtkToggleAction *act, GtkAction *box3d_angle ) argument
324 InkToggleAction* act = ink_toggle_action_new( "3DBoxVPXStateAction", local
363 InkToggleAction* act = ink_toggle_action_new( "3DBoxVPYStateAction", local
402 InkToggleAction* act = ink_toggle_action_new( "3DBoxVPZStateAction", local
[all...]
H A Dcalligraphy-toolbar.cpp182 static void sp_ddc_tilt_state_changed( GtkToggleAction *act, GObject* tbl ) argument
187 gtk_action_set_sensitive( calligraphy_angle, !gtk_toggle_action_get_active( act ) );
344 static void sp_ddc_change_profile(EgeSelectOneAction* act, GObject* tbl) argument
348 guint preset_index = ege_select_one_action_get_active( act );
408 ege_select_one_action_set_active(act, 0);
412 static void sp_ddc_edit_profile(GtkAction * /*act*/, GObject* tbl)
564 InkToggleAction* act = ink_toggle_action_new( "TraceAction", local
569 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
570 PrefPusher *pusher = new PrefPusher(GTK_TOGGLE_ACTION(act), "/tools/calligraphic/tracebackground", update_presets_list, holder);
572 g_object_set_data( holder, "tracebackground", act );
577 InkToggleAction* act = ink_toggle_action_new( "PressureAction", local
590 InkToggleAction* act = ink_toggle_action_new( "TiltAction", local
[all...]
H A Dconnector-toolbar.cpp76 static void sp_connector_orthogonal_toggled( GtkToggleAction* act, GObject *tbl ) argument
94 bool is_orthog = gtk_toggle_action_get_active( act );
237 static void sp_directed_graph_layout_toggled( GtkToggleAction* act, GObject * /*tbl*/ ) argument
241 gtk_toggle_action_get_active( act ));
244 static void sp_nooverlaps_graph_layout_toggled( GtkToggleAction* act, GObject * /*tbl*/ ) argument
248 gtk_toggle_action_get_active( act ));
288 GtkToggleAction *act = GTK_TOGGLE_ACTION( g_object_get_data( tbl, "orthogonal" ) ); local
294 gtk_toggle_action_set_active(act, is_orthog);
327 InkToggleAction* act = ink_toggle_action_new( "ConnectorOrthogonalAction", local
332 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
388 InkToggleAction* act = ink_toggle_action_new( "ConnectorDirectedAction", local
404 InkToggleAction* act = ink_toggle_action_new( "ConnectorOverlapAction", local
[all...]
H A Dink-action.cpp162 InkAction* act = INK_ACTION( action ); local
165 if ( act->private_data->iconId ) {
167 g_object_get( G_OBJECT(act), "label", &label, NULL );
175 GtkWidget* child = sp_icon_new( Inkscape::ICON_SIZE_MENU, act->private_data->iconId );
206 InkAction* act = INK_ACTION( action ); local
209 if ( act->private_data->iconId ) {
213 GtkWidget* child = sp_icon_new( act->private_data->iconSize, act->private_data->iconId );
388 InkToggleAction* act = INK_TOGGLE_ACTION( action ); local
393 if ( act
605 InkRadioAction* act = INK_RADIO_ACTION( action ); local
[all...]
H A Dlpe-toolbar.cpp65 static void sp_lpetool_mode_changed(EgeSelectOneAction *act, GObject *tbl) argument
80 gint mode = ege_select_one_action_get_active(act);
87 ege_select_one_action_set_active(act, 0);
147 static void lpetool_toggle_show_bbox(GtkToggleAction *act, gpointer data) { argument
151 bool show = gtk_toggle_action_get_active( act );
160 static void lpetool_toggle_show_measuring_info(GtkToggleAction *act, GObject *tbl) argument
171 bool show = gtk_toggle_action_get_active( act );
178 static void lpetool_unit_changed(GtkAction* /*act*/, GObject* tbl)
194 static void lpetool_toggle_set_bbox(GtkToggleAction *act, gpointer data) argument
218 gtk_toggle_action_set_active(act, fals
245 sp_lpetool_change_line_segment_type(EgeSelectOneAction* act, GObject* tbl) argument
268 lpetool_open_lpe_dialog(GtkToggleAction *act, gpointer data) argument
317 EgeSelectOneAction* act = ege_select_one_action_new( "LPEToolModeAction", (""), (""), NULL, GTK_TREE_MODEL(model) ); local
334 InkToggleAction* act = ink_toggle_action_new( "LPEShowBBoxAction", local
346 InkToggleAction* act = ink_toggle_action_new( "LPEBBoxFromSelectionAction", local
360 EgeSelectOneAction* act = ege_select_one_action_new ("LPELineSegmentAction", "" , (_("Choose a line segment type")), NULL, GTK_TREE_MODEL(model)); local
375 InkToggleAction* act = ink_toggle_action_new( "LPEMeasuringAction", local
387 GtkAction* act = tracker->createAction( "LPEToolUnitsAction", _("Units"), ("") ); local
396 InkToggleAction* act = ink_toggle_action_new( "LPEOpenLPEDialogAction", local
[all...]
H A Dmesh-toolbar.cpp247 static void ms_new_geometry_changed( EgeSelectOneAction *act, GObject * /*tbl*/ ) argument
250 gint geometrymode = ege_select_one_action_get_active( act ) == 0 ? SP_MESH_GEOMETRY_NORMAL : SP_MESH_GEOMETRY_CONICAL;
254 static void ms_new_fillstroke_changed( EgeSelectOneAction *act, GObject * /*tbl*/ ) argument
257 Inkscape::PaintTarget fsmode = (ege_select_one_action_get_active( act ) == 0) ? Inkscape::FOR_FILL : Inkscape::FOR_STROKE;
298 static void ms_type_changed(EgeSelectOneAction *act, GtkWidget *widget) argument
311 SPMeshType type = (SPMeshType) ege_select_one_action_get_active(act);
386 EgeSelectOneAction* act = ege_select_one_action_new( "MeshNewTypeAction", (""), (""), NULL, GTK_TREE_MODEL(model) ); local
387 g_object_set( act, "short_label", _("New:"), NULL );
388 gtk_action_group_add_action( mainActions, GTK_ACTION(act) );
389 g_object_set_data( holder, "mesh_new_type_action", act );
416 EgeSelectOneAction* act = ege_select_one_action_new( "MeshNewFillStrokeAction", (""), (""), NULL, GTK_TREE_MODEL(model) ); local
468 InkToggleAction* act = ink_toggle_action_new( "MeshEditFillAction", local
480 InkToggleAction* act = ink_toggle_action_new( "MeshEditStrokeAction", local
492 InkToggleAction* act = ink_toggle_action_new( "MeshShowHandlesAction", local
508 GtkAction* act = gtk_action_new( "MeshWarningAction", local
524 EgeSelectOneAction* act = ege_select_one_action_new( "MeshSmoothAction", _("Coons"), local
536 InkAction* act = ink_action_new( "MeshToggleSidesAction", local
547 InkAction* act = ink_action_new( "MeshMakeEllipticalAction", local
558 InkAction* act = ink_action_new( "MeshPickColorsAction", local
[all...]
H A Dpencil-toolbar.cpp74 static void freehand_mode_changed(EgeSelectOneAction* act, GObject* tbl) argument
76 gint mode = ege_select_one_action_get_active(act);
138 EgeSelectOneAction* act = ege_select_one_action_new(tool_is_pencil ? local
142 gtk_action_group_add_action( mainActions, GTK_ACTION(act) );
144 ege_select_one_action_set_appearance( act, "full" );
145 ege_select_one_action_set_radio_action_type( act, INK_RADIO_ACTION_TYPE );
146 g_object_set( G_OBJECT(act), "icon-property", "iconId", NULL );
147 ege_select_one_action_set_icon_column( act, 2 );
148 ege_select_one_action_set_icon_size( act, secondarySize );
149 ege_select_one_action_set_tooltip_column( act,
157 freehand_change_shape(EgeSelectOneAction* act, GObject *dataKludge) argument
[all...]
H A Drect-toolbar.cpp255 EgeOutputAction* act = EGE_OUTPUT_ACTION( g_object_get_data( tbl, "mode_action" ) ); local
260 g_object_set( G_OBJECT(act), "label", _("<b>New:</b>"), NULL );
268 g_object_set( G_OBJECT(act), "label", _("<b>Change:</b>"), NULL );
286 g_object_set( G_OBJECT(act), "label", _("<b>Change:</b>"), NULL );
299 EgeOutputAction* act = ege_output_action_new( "RectStateAction", _("<b>New:</b>"), "", 0 ); local
300 ege_output_action_set_use_markup( act, TRUE );
301 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
302 g_object_set_data( holder, "mode_action", act );
378 GtkAction* act = tracker->createAction( "RectUnitsAction", _("Units"), ("") ); local
379 gtk_action_group_add_action( mainActions, act );
[all...]
H A Dspray-toolbar.cpp164 static void sp_spray_mode_changed( EgeSelectOneAction *act, GObject * tbl ) argument
166 int mode = ege_select_one_action_get_active( act );
200 static void sp_toggle_no_overlap( GtkToggleAction* act, gpointer data) argument
203 gboolean active = gtk_toggle_action_get_active(act);
209 static void sp_toggle_pressure_scale( GtkToggleAction* act, gpointer data) argument
212 gboolean active = gtk_toggle_action_get_active(act);
221 static void sp_toggle_over_no_transparent( GtkToggleAction* act, gpointer data) argument
224 gboolean active = gtk_toggle_action_get_active(act);
228 static void sp_toggle_over_transparent( GtkToggleAction* act, gpointer data) argument
231 gboolean active = gtk_toggle_action_get_active(act);
236 sp_toggle_picker( GtkToggleAction* act, gpointer data ) argument
253 sp_toggle_pick_center( GtkToggleAction* act, gpointer data ) argument
260 sp_toggle_pick_fill( GtkToggleAction* act, gpointer data ) argument
267 sp_toggle_pick_stroke( GtkToggleAction* act, gpointer data ) argument
274 sp_toggle_pick_no_overlap( GtkToggleAction* act, gpointer data ) argument
281 sp_toggle_pick_inverse_value( GtkToggleAction* act, gpointer data ) argument
310 InkToggleAction* act = ink_toggle_action_new( "SprayPressureWidthAction", local
388 EgeSelectOneAction* act = ege_select_one_action_new( "SprayModeAction", _("Mode"), (""), NULL, GTK_TREE_MODEL(model) ); local
404 g_object_set_data( G_OBJECT(holder), "spray_tool_mode", act); local
426 InkToggleAction* act = ink_toggle_action_new( "SprayPressurePopulationAction", local
475 InkToggleAction* act = ink_toggle_action_new( "SprayPressureScaleAction", local
488 InkToggleAction* act = ink_toggle_action_new( "SprayPickColorAction", local
501 InkToggleAction* act = ink_toggle_action_new( "SprayPickCenterAction", local
514 InkToggleAction* act = ink_toggle_action_new( "SprayPickInverseValueAction", local
527 InkToggleAction* act = ink_toggle_action_new( "SprayPickFillAction", local
540 InkToggleAction* act = ink_toggle_action_new( "SprayPickStrokeAction", local
553 InkToggleAction* act = ink_toggle_action_new( "SprayPickNoOverlapAction", local
566 InkToggleAction* act = ink_toggle_action_new( "SprayOverTransparentAction", local
579 InkToggleAction* act = ink_toggle_action_new( "SprayOverNoTransparentAction", local
592 InkToggleAction* act = ink_toggle_action_new( "SprayNoOverlapAction", local
[all...]
H A Dstar-toolbar.cpp162 static void sp_stb_sides_flat_state_changed( EgeSelectOneAction *act, GObject *dataKludge ) argument
165 bool flat = ege_select_one_action_get_active( act ) == 0;
379 EgeOutputAction* act = EGE_OUTPUT_ACTION( g_object_get_data( tbl, "mode_action" ) ); local
382 g_object_set( G_OBJECT(act), "label", _("<b>New:</b>"), NULL );
384 g_object_set( G_OBJECT(act), "label", _("<b>Change:</b>"), NULL );
444 EgeOutputAction* act = ege_output_action_new( "StarStateAction", _("<b>New:</b>"), "", 0 ); local
445 ege_output_action_set_use_markup( act, TRUE );
446 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
447 g_object_set_data( holder, "mode_action", act );
474 EgeSelectOneAction* act local
[all...]
H A Dnode-toolbar.cpp206 static void sp_node_path_edit_nextLPEparam(GtkAction * /*act*/, gpointer data) {
509 InkToggleAction* act = ink_toggle_action_new( "NodesShowTransformHandlesAction", local
514 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
515 PrefPusher *pusher = new PrefPusher(GTK_TOGGLE_ACTION(act), "/tools/nodes/show_transform_handles");
520 InkToggleAction* act = ink_toggle_action_new( "NodesShowHandlesAction", local
525 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
526 PrefPusher *pusher = new PrefPusher(GTK_TOGGLE_ACTION(act), "/tools/nodes/show_handles");
531 InkToggleAction* act = ink_toggle_action_new( "NodesShowHelperpath", local
536 gtk_action_group_add_action( mainActions, GTK_ACTION( act ) );
537 PrefPusher *pusher = new PrefPusher(GTK_TOGGLE_ACTION(act), "/tool
613 GtkAction* act = tracker->createAction( "NodeUnitsAction", _("Units"), ("") ); local
[all...]
H A Dselect-toolbar.cpp273 static void toggle_stroke( GtkToggleAction* act, gpointer data ) argument
276 gboolean active = gtk_toggle_action_get_active(act);
286 static void toggle_corners( GtkToggleAction* act, gpointer data) argument
289 gboolean active = gtk_toggle_action_get_active(act);
299 static void toggle_gradient( GtkToggleAction *act, gpointer data ) argument
302 gboolean active = gtk_toggle_action_get_active(act);
312 static void toggle_pattern( GtkToggleAction* act, gpointer data ) argument
315 gboolean active = gtk_toggle_action_get_active(act);
325 static void toggle_lock( GtkToggleAction *act, gpointer /*data*/ ) { argument
326 gboolean active = gtk_toggle_action_get_active( act );
353 GtkAction* act = 0; local
372 GtkAction* act = 0; local
[all...]
H A Dege-adjustment-action.cpp569 EgeAdjustmentAction* act = (EgeAdjustmentAction*)g_object_get_qdata( G_OBJECT(obj), gDataName ); local
573 gdouble base = gtk_adjustment_get_value( act->private_data->adj );
578 g_object_get( G_OBJECT(act->private_data->adj),
587 gtk_adjustment_set_value( act->private_data->adj, upper );
591 gtk_adjustment_set_value( act->private_data->adj, base + page );
595 gtk_adjustment_set_value( act->private_data->adj, base + step );
599 gtk_adjustment_set_value( act->private_data->adj, base - step );
603 gtk_adjustment_set_value( act->private_data->adj, base - page );
607 gtk_adjustment_set_value( act->private_data->adj, lower );
613 if ( index < g_list_length( act
624 create_single_menu_item( GCallback toggleCb, int val, GtkWidget* menu, EgeAdjustmentAction* act, GtkWidget** dst, GSList** group, gdouble num, gboolean active ) argument
662 flush_explicit_items( GList* descriptions, GCallback toggleCb, int val, GtkWidget* menu, EgeAdjustmentAction* act, GtkWidget** dst, GSList** group, gdouble num ) argument
716 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_TOP, menu, act, &single, &group, upper, FALSE ); local
719 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_PAGE_UP, menu, act, &single, &group, base + page, FALSE ); local
723 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_UP, menu, act, &single, &group, base + step, FALSE ); local
728 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_NONE, menu, act, &single, &group, base, TRUE ); local
733 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_DOWN, menu, act, &single, &group, base - step, FALSE ); local
737 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_PAGE_DOWN, menu, act, &single, &group, base - page, FALSE ); local
740 create_single_menu_item( G_CALLBACK(process_menu_action), BUMP_BOTTOM, menu, act, &single, &group, lower, FALSE ); local
756 EgeAdjustmentAction* act = EGE_ADJUSTMENT_ACTION( action ); local
791 event_cb( EgeAdjustmentAction* act, GdkEvent* evt ) argument
814 EgeAdjustmentAction* act = EGE_ADJUSTMENT_ACTION( action ); local
[all...]
H A Dege-select-one-action.cpp56 static gint find_text_index(EgeSelectOneAction *act, gchar const* text);
57 static void commit_pending_change(EgeSelectOneAction *act);
58 static void resync_active( EgeSelectOneAction* act, gint active, gboolean override );
59 static void resync_sensitive( EgeSelectOneAction* act );
568 EgeSelectOneAction* act = EGE_SELECT_ONE_ACTION( action ); local
579 gboolean valid = gtk_tree_model_get_iter_first( act->private_data->model, &iter );
582 gtk_tree_model_get( act->private_data->model, &iter,
583 act->private_data->labelColumn, &str,
589 g_object_set_qdata( G_OBJECT(item), gDataName, act ); local
591 gtk_check_menu_item_set_active( GTK_CHECK_MENU_ITEM(item), index == act
631 EgeSelectOneAction* act = EGE_SELECT_ONE_ACTION(action); local
727 g_signal_connect( G_OBJECT(ract), "changed", G_CALLBACK( proxy_action_chagned_cb ), act ); local
777 g_signal_connect( G_OBJECT(child), "activate", G_CALLBACK(combo_entry_changed_cb), act ); local
778 g_signal_connect( G_OBJECT(child), "focus-out-event", G_CALLBACK(combo_entry_focus_lost_cb), act ); local
852 resync_active( EgeSelectOneAction* act, gint active, gboolean override ) argument
988 EgeSelectOneAction *act = EGE_SELECT_ONE_ACTION(user_data); local
1041 EgeSelectOneAction* act = EGE_SELECT_ONE_ACTION(data); local
1052 EgeSelectOneAction* act = EGE_SELECT_ONE_ACTION(user_data); local
1057 commit_pending_change(EgeSelectOneAction *act) argument
1086 find_text_index(EgeSelectOneAction *act, gchar const* text) argument
1118 EgeSelectOneAction* act = (EgeSelectOneAction*)g_object_get_qdata( G_OBJECT(obj), gDataName ); local
1129 EgeSelectOneAction* act = EGE_SELECT_ONE_ACTION(user_data); local
[all...]
H A Dgradient-toolbar.cpp118 // If no drag or no dragger selected, act on selection
605 static void gr_linked_changed(GtkToggleAction *act, gpointer /*data*/) argument
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"); local
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"); local
850 if (!act) {
889 gr_new_type_changed( EgeSelectOneAction *act, GObject * ) argument
896 gr_new_fillstroke_changed( EgeSelectOneAction *act, GObject * ) argument
906 gr_gradient_combo_changed(EgeSelectOneAction *act, gpointer data) argument
935 gr_spread_change(EgeSelectOneAction *act, GtkWidget *widget) argument
1043 EgeSelectOneAction* act = ege_select_one_action_new( "GradientNewTypeAction", (""), (""), NULL, GTK_TREE_MODEL(model) ); local
1073 EgeSelectOneAction* act = ege_select_one_action_new( "GradientNewFillStrokeAction", (""), (""), NULL, GTK_TREE_MODEL(model) ); local
[all...]
H A Dtext-toolbar.cpp124 static void sp_text_fontfamily_value_changed( Ink_ComboBoxEntry_Action *act, GObject *tbl ) argument
142 Glib::ustring new_family = ink_comboboxentry_action_get_active_text( act );
153 std::cout << " New active: " << act->active << std::endl;
158 if( act->active == -1 ) {
161 act->active = 0; // New family is always at top of list.
164 fontlister->set_font_family( act->active );
195 static void sp_text_fontsize_value_changed( Ink_ComboBoxEntry_Action *act, GObject *tbl ) argument
203 gchar *text = ink_comboboxentry_action_get_active_text( act );
256 static void sp_text_fontstyle_value_changed( Ink_ComboBoxEntry_Action *act, GObject *tbl ) argument
264 Glib::ustring new_style = ink_comboboxentry_action_get_active_text( act );
288 sp_text_script_changed( InkToggleAction* act, GObject *tbl ) argument
364 sp_text_align_mode_changed( EgeSelectOneAction *act, GObject *tbl ) argument
930 sp_writing_mode_changed( EgeSelectOneAction *act, GObject *tbl ) argument
984 sp_text_orientation_changed( EgeSelectOneAction *act, GObject *tbl ) argument
1537 Ink_ComboBoxEntry_Action* act = local
1608 Ink_ComboBoxEntry_Action* act = ink_comboboxentry_action_new( "TextFontSizeAction", local
1630 Ink_ComboBoxEntry_Action* act = ink_comboboxentry_action_new( "TextFontStyleAction", local
1648 InkToggleAction* act = ink_toggle_action_new( "TextSuperscriptAction", // Name local
1661 InkToggleAction* act = ink_toggle_action_new( "TextSubscriptAction", // Name local
1710 EgeSelectOneAction* act = ege_select_one_action_new( "TextAlignAction", // Name local
1758 EgeSelectOneAction* act = ege_select_one_action_new( "TextWritingModeAction", // Name local
1810 EgeSelectOneAction* act = ege_select_one_action_new( "TextOrientationAction", // Name local
1876 GtkAction* act = tracker->createAction( "TextLineHeightUnitsAction", _("Units"), ("") ); local
[all...]
/inkscape/src/ui/widget/
H A Dunit-tracker.cpp158 EgeSelectOneAction *act = EGE_SELECT_ONE_ACTION(action); local
159 gint active = ege_select_one_action_get_active(act);
235 EgeSelectOneAction *act = EGE_SELECT_ONE_ACTION(cur->data); local
236 ege_select_one_action_set_active(act, active);

Completed in 4255 milliseconds

12