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

Function ghb_queue_row_new

gtk/src/ghb-queue-row.c:225–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225GtkWidget *
226ghb_queue_row_new (const char *dest, int status)
227{
228 GhbQueueRow *row;
229
230 row = g_object_new(GHB_TYPE_QUEUE_ROW, NULL);
231 ghb_queue_row_set_destination(row, dest);
232
233 row->actions = G_ACTION_MAP(g_simple_action_group_new());
234 g_action_map_add_action_entries(row->actions, action_entries,
235 G_N_ELEMENTS(action_entries), row);
236
237 gtk_widget_insert_action_group(GTK_WIDGET(row), "queue",
238 G_ACTION_GROUP(row->actions));
239
240 GtkEventController *key_con = gtk_event_controller_key_new();
241 gtk_widget_add_controller(GTK_WIDGET(row), key_con);
242 g_signal_connect(key_con, "key-pressed", G_CALLBACK(ghb_queue_row_key_cb), row);
243
244 return GTK_WIDGET(row);
245}
246
247double
248ghb_queue_row_get_progress (GhbQueueRow *self)

Callers 1

ghb_add_to_queue_listFunction · 0.85

Calls 1

Tested by

no test coverage detected