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

Function ghb_combo_init

gtk/src/hb-backend.c:3563–3581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3561static ghb_status_t hb_status;
3562
3563void
3564ghb_combo_init(signal_user_data_t *ud)
3565{
3566 // Set up the list model for the combos
3567 init_ui_combo_boxes();
3568 // Populate all the combos
3569 ghb_update_ui_combo_box(ud, NULL, NULL, TRUE);
3570
3571 GtkWidget * combo;
3572 GtkEventController * econ;
3573
3574 // Set key-press handler for subtitle import language combo.
3575 // Pressing a key warps to the next language that starts with that key.
3576 combo = ghb_builder_widget("ImportLanguage");
3577 econ = gtk_event_controller_key_new();
3578 gtk_widget_add_controller(combo, econ);
3579 g_signal_connect(econ, "key-pressed",
3580 G_CALLBACK(combo_search_key_press_cb), ud);
3581}
3582
3583void
3584ghb_backend_init(gint debug)

Callers 1

ghb_application_activateFunction · 0.85

Calls 3

init_ui_combo_boxesFunction · 0.85
ghb_update_ui_combo_boxFunction · 0.85
ghb_builder_widgetFunction · 0.85

Tested by

no test coverage detected