/inkscape/src/widgets/ |
H A D | measure-toolbar.cpp | 74 sp_measure_fontsize_value_changed(GtkAdjustment *adj, GObject *tbl) argument 76 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 90 sp_measure_offset_value_changed(GtkAdjustment *adj, GObject *tbl) argument 92 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 105 static void sp_measure_scale_value_changed(GtkAdjustment *adj, GObject *tbl) argument 107 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 121 sp_measure_precision_value_changed(GtkAdjustment *adj, GObject *tbl) argument 123 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 137 sp_measure_unit_changed(GtkAction* /*act*/, GObject* tbl) argument 139 UnitTracker* tracker = reinterpret_cast<UnitTracker*>(g_object_get_data(tbl, "tracke [all...] |
H A D | paintbucket-toolbar.cpp | 58 static void paintbucket_channels_changed(EgeSelectOneAction* act, GObject* /*tbl*/) 65 static void paintbucket_threshold_changed(GtkAdjustment *adj, GObject * /*tbl*/) 71 static void paintbucket_autogap_changed(EgeSelectOneAction* act, GObject * /*tbl*/) 77 static void paintbucket_offset_changed(GtkAdjustment *adj, GObject *tbl) argument 79 UnitTracker* tracker = static_cast<UnitTracker*>(g_object_get_data( tbl, "tracker" )); 91 static void paintbucket_defaults(GtkWidget *, GObject *tbl) argument 104 GtkAdjustment* adj = static_cast<GtkAdjustment *>(g_object_get_data(tbl, kv.key)); 110 EgeSelectOneAction* channels_action = EGE_SELECT_ONE_ACTION( g_object_get_data (tbl, "channels_action" ) ); 112 EgeSelectOneAction* autogap_action = EGE_SELECT_ONE_ACTION( g_object_get_data (tbl, "autogap_action" ) );
|
H A D | spiral-toolbar.cpp | 61 static void sp_spl_tb_value_changed(GtkAdjustment *adj, GObject *tbl, Glib::ustring const &value_name) argument 63 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 72 if (g_object_get_data( tbl, "freeze" )) { 77 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) ); 101 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) ); 104 static void sp_spl_tb_revolution_value_changed(GtkAdjustment *adj, GObject *tbl) argument 106 sp_spl_tb_value_changed(adj, tbl, "revolution"); 109 static void sp_spl_tb_expansion_value_changed(GtkAdjustment *adj, GObject *tbl) argument 111 sp_spl_tb_value_changed(adj, tbl, "expansion"); 114 static void sp_spl_tb_t0_value_changed(GtkAdjustment *adj, GObject *tbl) argument 121 GtkWidget *tbl = GTK_WIDGET(obj); local 153 GtkWidget *tbl = GTK_WIDGET(data); local 191 sp_spiral_toolbox_selection_changed(Inkscape::Selection *selection, GObject *tbl) argument [all...] |
H A D | arc-toolbar.cpp | 63 static void sp_arctb_sensitivize( GObject *tbl, double v1, double v2 ) argument 65 GtkAction *ocb = GTK_ACTION( g_object_get_data( tbl, "open_action" ) ); 66 GtkAction *make_whole = GTK_ACTION( g_object_get_data( tbl, "make_whole" ) ); 69 if (g_object_get_data( tbl, "single" )) { // only for a single selected ellipse (for now) 80 sp_arctb_startend_value_changed(GtkAdjustment *adj, GObject *tbl, gchar const *value_name, gchar const *other_name) argument 82 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 90 if (g_object_get_data( tbl, "freeze" )) { 95 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) ); 123 GtkAdjustment *other = GTK_ADJUSTMENT( g_object_get_data( tbl, other_name ) ); 125 sp_arctb_sensitivize( tbl, gtk_adjustment_get_valu 136 sp_arctb_start_value_changed(GtkAdjustment *adj, GObject *tbl) argument 141 sp_arctb_end_value_changed(GtkAdjustment *adj, GObject *tbl) argument 215 GObject *tbl = G_OBJECT(data); local 260 sp_arc_toolbox_selection_changed(Inkscape::Selection *selection, GObject *tbl) argument [all...] |
H A D | box3d-toolbar.cpp | 101 GtkWidget *tbl = GTK_WIDGET(data); local 111 adj = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(tbl), "box3d_angle_x")); 112 act = GTK_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_angle_x_action")); 113 tact = &INK_TOGGLE_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_vp_x_state_action"))->action; 118 adj = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(tbl), "box3d_angle_y")); 119 act = GTK_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_angle_y_action")); 120 tact = &INK_TOGGLE_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_vp_y_state_action"))->action; 125 adj = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(tbl), "box3d_angle_z")); 126 act = GTK_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_angle_z_action")); 127 tact = &INK_TOGGLE_ACTION(g_object_get_data(G_OBJECT(tbl), "box3d_vp_z_state_actio 140 GtkWidget *tbl = GTK_WIDGET(data); local 176 box3d_toolbox_selection_changed(Inkscape::Selection *selection, GObject *tbl) argument [all...] |
H A D | calligraphy-toolbar.cpp | 64 void update_presets_list(GObject *tbl) argument 67 if (g_object_get_data(tbl, "presets_blocked")) { 71 EgeSelectOneAction *sel = static_cast<EgeSelectOneAction *>(g_object_get_data(tbl, "profile_selector")); 91 void *widget = g_object_get_data(tbl, entry_name.data()); 126 static void sp_ddc_mass_value_changed( GtkAdjustment *adj, GObject* tbl ) 130 update_presets_list(tbl); 133 static void sp_ddc_wiggle_value_changed( GtkAdjustment *adj, GObject* tbl ) 137 update_presets_list(tbl); 140 static void sp_ddc_angle_value_changed( GtkAdjustment *adj, GObject* tbl ) 144 update_presets_list(tbl); 207 sp_dcc_build_presets_list(GObject *tbl) argument 247 sp_dcc_save_profile(GtkWidget * , GObject *tbl) argument 344 sp_ddc_change_profile(EgeSelectOneAction* act, GObject* tbl) argument 412 sp_ddc_edit_profile(GtkAction * , GObject* tbl) argument [all...] |
H A D | connector-toolbar.cpp | 76 static void sp_connector_orthogonal_toggled( GtkToggleAction* act, GObject *tbl ) 78 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 87 if (g_object_get_data( tbl, "freeze" )) { 92 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) ); 121 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) ); 124 static void connector_curvature_changed(GtkAdjustment *adj, GObject* tbl) argument 126 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 135 if (g_object_get_data( tbl, "freeze" )) { 140 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) ); 168 g_object_set_data( tbl, "freez 172 connector_spacing_changed(GtkAdjustment *adj, GObject* tbl) argument 262 GtkWidget *tbl = GTK_WIDGET(data); local 285 sp_connector_toolbox_selection_changed(Inkscape::Selection *selection, GObject *tbl) argument [all...] |
H A D | lpe-toolbar.cpp | 65 static void sp_lpetool_mode_changed(EgeSelectOneAction *act, GObject *tbl) argument 69 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data(tbl, "desktop")); 76 if (!g_object_get_data(tbl, "freeze")) { 78 g_object_set_data(tbl, "freeze", GINT_TO_POINTER(TRUE)); 99 g_object_set_data(tbl, "freeze", GINT_TO_POINTER(FALSE)); 103 static void sp_lpetool_toolbox_sel_modified(Inkscape::Selection *selection, guint /*flags*/, GObject * /*tbl*/) 111 static void sp_lpetool_toolbox_sel_changed(Inkscape::Selection *selection, GObject *tbl) argument 124 GtkAction* w = GTK_ACTION(g_object_get_data(tbl, "lpetool_line_segment_action")); 131 g_object_set_data(tbl, "currentlpe", lpe); 132 g_object_set_data(tbl, "currentlpeite 160 lpetool_toggle_show_measuring_info(GtkToggleAction *act, GObject *tbl) argument 178 lpetool_unit_changed(GtkAction* , GObject* tbl) argument 221 sp_line_segment_build_list(GObject *tbl) argument 245 sp_lpetool_change_line_segment_type(EgeSelectOneAction* act, GObject* tbl) argument [all...] |
H A D | pencil-toolbar.cpp | 74 static void freehand_mode_changed(EgeSelectOneAction* act, GObject* tbl) argument 79 prefs->setInt(freehand_tool_name(tbl) + "/freehand-mode", mode); 81 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data(tbl, "desktop")); 226 GtkWidget *tbl = GTK_WIDGET(obj); local 237 spinbutton_defocus(tbl); 275 static void sp_pencil_tb_tolerance_value_changed(GtkAdjustment *adj, GObject *tbl) argument 278 if (g_object_get_data( tbl, "freeze" )) { 283 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) ); 286 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) ); 287 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data(tbl, "deskto [all...] |
H A D | rect-toolbar.cpp | 70 static void sp_rtb_sensitivize( GObject *tbl ) 72 GtkAdjustment *adj1 = GTK_ADJUSTMENT( g_object_get_data(tbl, "rx") ); 73 GtkAdjustment *adj2 = GTK_ADJUSTMENT( g_object_get_data(tbl, "ry") ); 74 GtkAction* not_rounded = GTK_ACTION( g_object_get_data(tbl, "not_rounded") ); 76 if (gtk_adjustment_get_value(adj1) == 0 && gtk_adjustment_get_value(adj2) == 0 && g_object_get_data(tbl, "single")) { // only for a single selected rect (for now) 84 static void sp_rtb_value_changed(GtkAdjustment *adj, GObject *tbl, gchar const *value_name, argument 87 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 89 UnitTracker* tracker = reinterpret_cast<UnitTracker*>(g_object_get_data( tbl, "tracker" )); 100 if (g_object_get_data( tbl, "freeze" ) || tracker->isUpdating()) { 105 g_object_set_data( tbl, "freez 131 sp_rtb_rx_value_changed(GtkAdjustment *adj, GObject *tbl) argument 136 sp_rtb_ry_value_changed(GtkAdjustment *adj, GObject *tbl) argument 141 sp_rtb_width_value_changed(GtkAdjustment *adj, GObject *tbl) argument 146 sp_rtb_height_value_changed(GtkAdjustment *adj, GObject *tbl) argument 173 GObject *tbl = G_OBJECT(data); local 235 sp_rect_toolbox_selection_changed(Inkscape::Selection *selection, GObject *tbl) argument [all...] |
H A D | spray-toolbar.cpp | 61 static void sp_stb_update_widgets( GObject *tbl ) 63 GtkAction* offset = GTK_ACTION( g_object_get_data(tbl, "offset") ); 64 GtkAction* spray_scale = GTK_ACTION( g_object_get_data(tbl, "spray_scale") ); 67 GtkAction *no_overlap_action = GTK_ACTION( g_object_get_data(tbl, "no_overlap") ); 68 GtkToggleAction *no_overlap = GTK_TOGGLE_ACTION( g_object_get_data(tbl, "no_overlap") ); 69 GtkAction *picker_action = GTK_ACTION( g_object_get_data(tbl, "picker") ); 70 GtkToggleAction *picker = GTK_TOGGLE_ACTION( g_object_get_data(tbl, "picker") ); 71 GtkToggleAction *usepressurescale = GTK_TOGGLE_ACTION( g_object_get_data(tbl, "usepressurescale") ); 72 GtkAction *pick_fill = GTK_ACTION( g_object_get_data(tbl, "pick_fill") ); 73 GtkAction *pick_stroke = GTK_ACTION( g_object_get_data(tbl, "pick_strok 101 sp_spray_init( GObject *tbl) argument 205 GObject *tbl = G_OBJECT(data); local 217 GObject *tbl = G_OBJECT(data); local 249 GObject *tbl = G_OBJECT(data); local [all...] |
H A D | star-toolbar.cpp | 291 GtkWidget *tbl = GTK_WIDGET(data); local 294 if (g_object_get_data(G_OBJECT(tbl), "freeze")) { 299 g_object_set_data(G_OBJECT(tbl), "freeze", GINT_TO_POINTER(TRUE)); 307 adj = GTK_ADJUSTMENT( g_object_get_data(G_OBJECT(tbl), "randomized") ); 312 adj = GTK_ADJUSTMENT( g_object_get_data(G_OBJECT(tbl), "rounded") ); 317 GtkAction* prop_action = GTK_ACTION( g_object_get_data(G_OBJECT(tbl), "prop_action") ); 319 EgeSelectOneAction* flat_action = EGE_SELECT_ONE_ACTION( g_object_get_data( G_OBJECT(tbl), "flat_action" ) ); 328 adj = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(tbl), "proportion")); 339 adj = GTK_ADJUSTMENT(g_object_get_data(G_OBJECT(tbl), "magnitude")); 345 g_object_set_data(G_OBJECT(tbl), "freez 363 sp_star_toolbox_selection_changed(Inkscape::Selection *selection, GObject *tbl) argument [all...] |
H A D | node-toolbar.cpp | 211 static void sp_node_toolbox_coord_changed(gpointer /*shape_editor*/, GObject *tbl) argument 213 GtkAction* xact = GTK_ACTION( g_object_get_data( tbl, "nodes_x_action" ) ); 214 GtkAction* yact = GTK_ACTION( g_object_get_data( tbl, "nodes_y_action" ) ); 219 if (g_object_get_data( tbl, "freeze" )) { 224 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE)); 226 UnitTracker* tracker = reinterpret_cast<UnitTracker*>( g_object_get_data( tbl, "tracker" ) ); 253 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) ); 256 static void sp_node_path_value_changed(GtkAdjustment *adj, GObject *tbl, Geom::Dim2 d) argument 258 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" )); 261 UnitTracker* tracker = reinterpret_cast<UnitTracker*>(g_object_get_data( tbl, "tracke 292 sp_node_path_x_value_changed(GtkAdjustment *adj, GObject *tbl) argument 297 sp_node_path_y_value_changed(GtkAdjustment *adj, GObject *tbl) argument 302 sp_node_toolbox_sel_changed(Inkscape::Selection *selection, GObject *tbl) argument 319 sp_node_toolbox_sel_modified(Inkscape::Selection *selection, guint , GObject *tbl) argument [all...] |
H A D | select-toolbar.cpp | 139 sp_object_layout_any_value_changed(GtkAdjustment *adj, GObject *tbl) argument 141 if (g_object_get_data(tbl, "update")) { 145 UnitTracker *tracker = reinterpret_cast<UnitTracker*>(g_object_get_data(tbl, "tracker")); 153 g_object_set_data(tbl, "update", GINT_TO_POINTER(TRUE)); 171 g_object_set_data(tbl, "update", GINT_TO_POINTER(FALSE)); 184 GtkAdjustment* a_x = GTK_ADJUSTMENT( g_object_get_data( tbl, "X" ) ); 185 GtkAdjustment* a_y = GTK_ADJUSTMENT( g_object_get_data( tbl, "Y" ) ); 186 GtkAdjustment* a_w = GTK_ADJUSTMENT( g_object_get_data( tbl, "width" ) ); 187 GtkAdjustment* a_h = GTK_ADJUSTMENT( g_object_get_data( tbl, "height" ) ); 208 GtkToggleAction *lock = GTK_TOGGLE_ACTION( g_object_get_data(tbl, "loc [all...] |
H A D | gradient-toolbar.cpp | 62 void add_toolbar_widget(GtkWidget *tbl, GtkWidget *widget); 889 static void gr_new_type_changed( EgeSelectOneAction *act, GObject * /*tbl*/ ) 896 static void gr_new_fillstroke_changed( EgeSelectOneAction *act, GObject * /*tbl*/ ) 976 static void gr_stop_offset_adjustment_changed(GtkAdjustment *adj, GObject *tbl) argument 984 SPStop *stop = get_selected_stop(GTK_WIDGET(tbl));
|
H A D | gradient-vector.cpp | 647 static void sp_grad_edit_combo_box_changed (GtkComboBox * /*widget*/, GtkWidget *tbl) argument 649 SPStop *stop = get_selected_stop(tbl); 656 SelectedColor *csel = static_cast<SelectedColor*>(g_object_get_data(G_OBJECT(tbl), "cselector")); 658 g_object_set_data(G_OBJECT(tbl), "updating_color", reinterpret_cast<void*>(1)); 660 g_object_set_data(G_OBJECT(tbl), "updating_color", reinterpret_cast<void*>(0)); 661 GtkWidget *offspin = GTK_WIDGET(g_object_get_data(G_OBJECT(tbl), "offspn")); 662 GtkWidget *offslide =GTK_WIDGET(g_object_get_data(G_OBJECT(tbl), "offslide")); 664 GtkAdjustment *adj = static_cast<GtkAdjustment*>(g_object_get_data(G_OBJECT(tbl), "offset"));
|
H A D | paint-selector.cpp | 1040 GtkWidget *tbl = NULL; local 1044 tbl = GTK_WIDGET(g_object_get_data(G_OBJECT(psel->selector), "pattern-selector")); 1050 tbl = gtk_box_new(GTK_ORIENTATION_VERTICAL, 4); 1051 gtk_box_set_homogeneous(GTK_BOX(tbl), FALSE); 1053 tbl = gtk_vbox_new(FALSE, 4); 1055 gtk_widget_show(tbl); 1085 gtk_box_pack_start(GTK_BOX(tbl), hb, FALSE, FALSE, AUX_BETWEEN_BUTTON_GROUPS); 1102 gtk_box_pack_start(GTK_BOX(tbl), hb, FALSE, FALSE, AUX_BETWEEN_BUTTON_GROUPS); 1105 gtk_widget_show_all(tbl); 1107 gtk_container_add(GTK_CONTAINER(psel->frame), tbl); [all...] |
H A D | text-toolbar.cpp | 124 static void sp_text_fontfamily_value_changed( Ink_ComboBoxEntry_Action *act, GObject *tbl ) 133 if (g_object_get_data(G_OBJECT(tbl), "freeze")) { 140 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) ); 185 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) ); 195 static void sp_text_fontsize_value_changed( Ink_ComboBoxEntry_Action *act, GObject *tbl ) 198 if (g_object_get_data(G_OBJECT(tbl), "freeze")) { 201 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) ); 250 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) ); 256 static void sp_text_fontstyle_value_changed( Ink_ComboBoxEntry_Action *act, GObject *tbl ) 259 if (g_object_get_data(G_OBJECT(tbl), "freez 1069 sp_text_toolbox_selection_changed(Inkscape::Selection * , GObject *tbl, bool subselection = false) argument 1467 sp_text_toolbox_selection_modified(Inkscape::Selection *selection, guint , GObject *tbl) argument 1473 sp_text_toolbox_subselection_changed(gpointer , GObject *tbl) argument [all...] |
H A D | desktop-widget.cpp | 425 GtkWidget *tbl = gtk_grid_new(); local 431 GtkWidget *tbl = gtk_table_new(2, 3, FALSE); local 446 gtk_box_pack_start( GTK_BOX(dtw->hbox), tbl, TRUE, TRUE, 1 ); 630 gtk_grid_attach(GTK_GRID(tbl), GTK_WIDGET (paned->gobj()), 1, 1, 1, 1); 632 gtk_table_attach (GTK_TABLE (tbl), GTK_WIDGET (paned->gobj()), 1, 2, 1, 2, (GtkAttachOptions)(GTK_EXPAND | GTK_FILL), 640 gtk_grid_attach(GTK_GRID(tbl), GTK_WIDGET (dtw->canvas_tbl), 1, 1, 1, 1); 642 gtk_table_attach (GTK_TABLE (tbl), GTK_WIDGET (dtw->canvas_tbl), 1, 2, 1, 2, (GtkAttachOptions)(GTK_EXPAND | GTK_FILL),
|
H A D | toolbox.cpp | 752 void purge_repr_listener( GObject* /*obj*/, GObject* tbl ) 754 Inkscape::XML::Node* oldrepr = reinterpret_cast<Inkscape::XML::Node *>( g_object_get_data( tbl, "repr" ) ); 756 sp_repr_remove_listener_by_data(oldrepr, tbl); 759 g_object_set_data( tbl, "repr", NULL ); 2041 GtkWidget *tbl = gtk_toolbar_new(); local 2042 g_object_set_data(G_OBJECT(tbl), "dtw", desktop->canvas); 2043 g_object_set_data(G_OBJECT(tbl), "desktop", desktop); 2045 gtk_widget_show_all(tbl); 2046 sp_set_font_size_smaller (tbl); 2048 return tbl; [all...] |
/inkscape/src/util/ |
H A D | units.cpp | 140 UnitTable *tbl; member in class:Inkscape::Util::UnitParser 147 tbl(table), 474 tbl->addUnit(unit, primary);
|