GUsb.Context.set_main_context – gusb Reference Manual
set_main_context
Description:
[
Version
( since =
"0.2.5"
) ]
public
void
set_main_context
(
MainContext
main_ctx)
Sets the internal GMainContext to use for synchronous methods.
Parameters:
this
a
Context
2022 vala-language.org