Lines Matching defs:tbl

64 void update_presets_list(GObject *tbl)
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);
147 static void sp_ddc_width_value_changed( GtkAdjustment *adj, GObject *tbl )
151 update_presets_list(tbl);
154 static void sp_ddc_velthin_value_changed( GtkAdjustment *adj, GObject* tbl )
158 update_presets_list(tbl);
161 static void sp_ddc_flatness_value_changed( GtkAdjustment *adj, GObject* tbl )
165 update_presets_list(tbl);
168 static void sp_ddc_tremor_value_changed( GtkAdjustment *adj, GObject* tbl )
172 update_presets_list(tbl);
175 static void sp_ddc_cap_rounding_value_changed( GtkAdjustment *adj, GObject* tbl )
179 update_presets_list(tbl);
182 static void sp_ddc_tilt_state_changed( GtkToggleAction *act, GObject* tbl )
185 GtkAction * calligraphy_angle = static_cast<GtkAction *> (g_object_get_data(tbl,"angle_action"));
207 static void sp_dcc_build_presets_list(GObject *tbl)
209 g_object_set_data(tbl, "presets_blocked", GINT_TO_POINTER(TRUE));
211 EgeSelectOneAction* selector = static_cast<EgeSelectOneAction *>(g_object_get_data(tbl, "profile_selector"));
239 g_object_set_data(tbl, "save_presets_index", GINT_TO_POINTER(ii));
242 g_object_set_data(tbl, "presets_blocked", GINT_TO_POINTER(FALSE));
244 update_presets_list (tbl);
247 static void sp_dcc_save_profile(GtkWidget * /*widget*/, GObject *tbl)
251 SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data(tbl, "desktop" ));
256 if (g_object_get_data(tbl, "presets_blocked")) {
260 EgeSelectOneAction *sel = static_cast<EgeSelectOneAction *>(g_object_get_data(tbl, "profile_selector"));
273 update_presets_list (tbl);
280 update_presets_list (tbl);
284 g_object_set_data(tbl, "presets_blocked", GINT_TO_POINTER(TRUE));
305 g_object_set_data(tbl, "presets_blocked", GINT_TO_POINTER(FALSE));
306 sp_dcc_build_presets_list (tbl);
320 void *widget = g_object_get_data(tbl, widget_name);
339 g_object_set_data(tbl, "presets_blocked", GINT_TO_POINTER(FALSE));
340 sp_dcc_build_presets_list (tbl);
344 static void sp_ddc_change_profile(EgeSelectOneAction* act, GObject* tbl)
357 gint save_presets_index = GPOINTER_TO_INT(g_object_get_data(tbl, "save_presets_index"));
361 sp_dcc_save_profile(NULL, tbl);
366 if (g_object_get_data(tbl, "presets_blocked")) {
379 g_object_set_data(tbl, "presets_blocked", GINT_TO_POINTER(TRUE)); //temporarily block the selector so no one will updadte it while we're reading it
389 void *widget = g_object_get_data(tbl, entry_name.data());
406 g_object_set_data(tbl, "presets_blocked", GINT_TO_POINTER(FALSE));
412 static void sp_ddc_edit_profile(GtkAction * /*act*/, GObject* tbl)
414 sp_dcc_save_profile(NULL, tbl);