Functions¶
|
|
|
|
|
|
|
|
|
Details¶
- Endless.get_license_display_name(license)¶
- Parameters:
license (
str
) – The license name- Returns:
A string for the specified license name and the current locale.
- Return type:
Retrieves the display name for the specified license and the current locale.
New in version 0.4.
- Endless.get_license_file(license)¶
- Parameters:
license (
str
) – The license name- Returns:
A
Gio.File
for the specified license name and the current locale. It returnsNone
if the license is not found or does not have an associated file.- Return type:
Retrieves a
Gio.File
for the specified licene and the current locale.New in version 0.4.
- Endless.hello_sample_function(file)¶
- Parameters:
- Raises:
- Returns:
- Return type:
A sample API function to say hello with. Prints on the terminal if file is
None
, or else appends it to file.
- Endless.is_composite_tv_screen(screen)¶
- Parameters:
screen (
Gdk.Screen
orNone
) – aGdk.Screen
, orNone
to use the default display’s default screen.- Returns:
- Return type:
Determines whether screen is a composite TV out.
New in version 0.6.
- Endless.profile_probe_start(file, line, function, name)¶
- Parameters:
- Returns:
a profile probe identifier; use
Endless.ProfileProbe.stop
() to stop the profiling on the returned probe- Return type:
Starts a profiling probe for name, creating it if necessary.
New in version 0.6.