Source.with_uid


Description:

[ CCode ( has_construct_function = false ) ]
public Source.with_uid (string uid, MainContext? main_context) throws Error

Creates a new "scratch" Source with a predetermined unique identifier.

The changed signal will be emitted from main_context if given, or else from the thread-default MainContext at the time this function is called.

Parameters:

uid

a new unique identifier string

main_context

a MainContext or null

Returns:

a new scratch Source, or null on error




2022 vala-language.org