Lines Matching defs:tbl

65 static void sp_lpetool_mode_changed(EgeSelectOneAction *act, GObject *tbl)
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)
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, "currentlpeitem", lpeitem);
136 g_object_set_data(tbl, "currentlpe", NULL);
137 g_object_set_data(tbl, "currentlpeitem", NULL);
141 g_object_set_data(tbl, "currentlpe", NULL);
142 g_object_set_data(tbl, "currentlpeitem", NULL);
160 static void lpetool_toggle_show_measuring_info(GtkToggleAction *act, GObject *tbl)
162 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data(tbl, "desktop"));
167 GtkAction *unitact = static_cast<GtkAction*>(g_object_get_data(tbl, "lpetool_units_action"));
178 static void lpetool_unit_changed(GtkAction* /*act*/, GObject* tbl)
180 UnitTracker* tracker = reinterpret_cast<UnitTracker*>(g_object_get_data(tbl, "tracker"));
186 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data( tbl, "desktop" ));
221 static void sp_line_segment_build_list(GObject *tbl)
223 g_object_set_data(tbl, "line_segment_list_blocked", GINT_TO_POINTER(TRUE));
225 EgeSelectOneAction* selector = static_cast<EgeSelectOneAction *>(g_object_get_data(tbl, "lpetool_line_segment_action"));
242 g_object_set_data(tbl, "line_segment_list_blocked", GINT_TO_POINTER(FALSE));
245 static void sp_lpetool_change_line_segment_type(EgeSelectOneAction* act, GObject* tbl)
250 if (g_object_get_data(tbl, "freeze")) {
255 g_object_set_data(tbl, "freeze", GINT_TO_POINTER(TRUE));
257 LPELineSegment *lpe = static_cast<LPELineSegment *>(g_object_get_data(tbl, "currentlpe"));
258 SPLPEItem *lpeitem = static_cast<SPLPEItem *>(g_object_get_data(tbl, "currentlpeitem"));
260 SPLPEItem *lpeitem = static_cast<SPLPEItem *>(g_object_get_data(tbl, "currentlpeitem"));
265 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );