Lines Matching defs:tbl

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), "freeze")) {
262 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
284 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
288 static void sp_text_script_changed( InkToggleAction* act, GObject *tbl )
291 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
294 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
361 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
364 static void sp_text_align_mode_changed( EgeSelectOneAction *act, GObject *tbl )
367 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
370 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
508 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
515 static void sp_text_lineheight_value_changed( GtkAdjustment *adj, GObject *tbl )
518 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
521 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
525 UnitTracker *tracker = reinterpret_cast<UnitTracker*>(g_object_get_data(tbl, "tracker"));
540 g_object_set_data( tbl, "lineheight_unit", GINT_TO_POINTER(temp_length.unit));
588 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
592 static void sp_text_lineheight_unit_changed( gpointer /* */, GObject *tbl )
595 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
598 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
601 int old_unit = GPOINTER_TO_INT( g_object_get_data(tbl, "lineheight_unit"));
604 UnitTracker *tracker = reinterpret_cast<UnitTracker*>(g_object_get_data(tbl, "tracker"));
617 g_object_set_data( tbl, "lineheight_unit", GINT_TO_POINTER(temp_length.unit));
622 reinterpret_cast<EgeAdjustmentAction *>(g_object_get_data(tbl, "TextLineHeightAction"));
743 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
747 static void sp_text_wordspacing_value_changed( GtkAdjustment *adj, GObject *tbl )
750 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
753 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
782 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
785 static void sp_text_letterspacing_value_changed( GtkAdjustment *adj, GObject *tbl )
788 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
791 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
822 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
826 static void sp_text_dx_value_changed( GtkAdjustment *adj, GObject *tbl )
829 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
832 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
857 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
860 static void sp_text_dy_value_changed( GtkAdjustment *adj, GObject *tbl )
863 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
866 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
892 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
895 static void sp_text_rotation_value_changed( GtkAdjustment *adj, GObject *tbl )
898 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
901 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
927 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
930 static void sp_writing_mode_changed( EgeSelectOneAction *act, GObject *tbl )
933 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
936 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
981 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
984 static void sp_text_orientation_changed( EgeSelectOneAction *act, GObject *tbl )
987 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
990 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
1035 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
1069 static void sp_text_toolbox_selection_changed(Inkscape::Selection */*selection*/, GObject *tbl, bool subselection = false) // don't bother to update font list if subsel changed
1092 if (g_object_get_data(G_OBJECT(tbl), "freeze")) {
1101 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
1104 INK_COMBOBOXENTRY_ACTION( g_object_get_data( tbl, "TextFontFamilyAction" ) );
1106 INK_COMBOBOXENTRY_ACTION( g_object_get_data( tbl, "TextFontStyleAction" ) );
1163 if (g_object_get_data(tbl, "text_style_from_prefs")) {
1165 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
1178 g_object_set_data(tbl, "text_style_from_prefs", GINT_TO_POINTER(TRUE));
1181 g_object_set_data(tbl, "text_style_from_prefs", GINT_TO_POINTER(FALSE));
1198 INK_COMBOBOXENTRY_ACTION( g_object_get_data( tbl, "TextFontSizeAction" ) );
1217 InkToggleAction* textSuperscriptAction = INK_TOGGLE_ACTION( g_object_get_data( tbl, "TextSuperscriptAction" ) );
1228 InkToggleAction* textSubscriptAction = INK_TOGGLE_ACTION( g_object_get_data( tbl, "TextSubscriptAction" ) );
1233 EgeSelectOneAction* textAlignAction = EGE_SELECT_ONE_ACTION( g_object_get_data( tbl, "TextAlignAction" ) );
1307 GtkAction* lineHeightAction = GTK_ACTION( g_object_get_data( tbl, "TextLineHeightAction" ) );
1312 UnitTracker* tracker = reinterpret_cast<UnitTracker*>( g_object_get_data( tbl, "tracker" ) );
1321 g_object_set_data( tbl, "lineheight_unit", GINT_TO_POINTER(line_height_unit));
1328 GtkAction* wordSpacingAction = GTK_ACTION( g_object_get_data( tbl, "TextWordSpacingAction" ) );
1339 GtkAction* letterSpacingAction = GTK_ACTION( g_object_get_data( tbl, "TextLetterSpacingAction" ) );
1352 EGE_SELECT_ONE_ACTION( g_object_get_data( tbl, "TextWritingModeAction" ) );
1362 EGE_SELECT_ONE_ACTION( g_object_get_data( tbl, "TextOrientationAction" ) );
1416 GtkAction* dxAction = GTK_ACTION( g_object_get_data( tbl, "TextDxAction" ));
1423 GtkAction* dyAction = GTK_ACTION( g_object_get_data( tbl, "TextDyAction" ));
1432 GtkAction* rotationAction = GTK_ACTION( g_object_get_data( tbl, "TextRotationAction" ));
1448 GtkAction* dxAction = GTK_ACTION( g_object_get_data( tbl, "TextDxAction" ));
1451 GtkAction* dyAction = GTK_ACTION( g_object_get_data( tbl, "TextDyAction" ));
1454 GtkAction* rotationAction = GTK_ACTION( g_object_get_data( tbl, "TextRotationAction" ));
1464 g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
1467 static void sp_text_toolbox_selection_modified(Inkscape::Selection *selection, guint /*flags*/, GObject *tbl)
1469 sp_text_toolbox_selection_changed (selection, tbl);
1473 sp_text_toolbox_subselection_changed (gpointer /*tc*/, GObject *tbl)
1475 sp_text_toolbox_selection_changed (NULL, tbl, true);