Foundry.OpenFileIntent

g Foundry.Intent Foundry.Intent Foundry.OpenFileIntent Foundry.OpenFileIntent Foundry.Intent->Foundry.OpenFileIntent GObject.Object GObject.Object GObject.Object->Foundry.Intent

Subclasses:

None

Methods

Inherited:

Foundry.Intent (9), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (file, content_type)

dup_content_type ()

dup_file ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

content-type

str

r/w/en

file

Gio.File

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.OpenFileIntent(**kwargs)
Bases:

Foundry.Intent

Abstract:

No

Structure:

Foundry.OpenFileIntentClass

Represents an intent to open a file.

Foundry.OpenFileIntent provides functionality for opening files with specific content types and handling file opening operations. It integrates with the intent system to provide a unified interface for file opening operations across different parts of the development environment.

classmethod new(file, content_type)
Parameters:
Return type:

Foundry.Intent

dup_content_type()
Return type:

str or None

dup_file()
Return type:

Gio.File or None

Property Details

Foundry.OpenFileIntent.props.content_type
Name:

content-type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Foundry.OpenFileIntent.props.file
Name:

file

Type:

Gio.File

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY