MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / ptop_update_ui_cb

Function ptop_update_ui_cb

gtk/src/callbacks.c:3526–3540  ·  view source on GitHub ↗

* Refreshes the UI by updating the underlying GtkAdjustments with * the values set by the user. This function is only called when the * focus changes to avoid changing the text while the user is typing. */

Source from the content-addressed store, hash-verified

3524 * focus changes to avoid changing the text while the user is typing.
3525 */
3526G_MODULE_EXPORT void
3527ptop_update_ui_cb (GtkWidget *widget, gpointer data)
3528{
3529 GtkAdjustment *adj;
3530 double value;
3531 signal_user_data_t *ud = ghb_ud();
3532
3533 adj = GTK_ADJUSTMENT(ghb_builder_object("start_point_adj"));
3534 value = ghb_dict_get_double(ud->settings, "start_point");
3535 gtk_adjustment_set_value(adj, value);
3536
3537 adj = GTK_ADJUSTMENT(ghb_builder_object("end_point_adj"));
3538 value = ghb_dict_get_double(ud->settings, "end_point");
3539 gtk_adjustment_set_value(adj, value);
3540}
3541
3542G_MODULE_EXPORT void
3543scale_width_changed_cb (GtkWidget *widget, gpointer data)

Callers

nothing calls this directly

Calls 3

ghb_udFunction · 0.85
ghb_builder_objectFunction · 0.85
ghb_dict_get_doubleFunction · 0.85

Tested by

no test coverage detected