GioUnix.FileDescriptorBased¶
- Implementations:
Methods¶
class |
|
Virtual Methods¶
None
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class GioUnix.FileDescriptorBased¶
- Bases:
- Structure:
GFileDescriptorBased
is an interface for file descriptor based IO.It is implemented by streams (implementations of [class`Gio`.InputStream] or [class`Gio`.OutputStream]) that are based on file descriptors.
Note that
<gio/gfiledescriptorbased.h>
belongs to the UNIX-specific GIO interfaces, thus you have to use thegio-unix-2.0.pc
pkg-config file or theGioUnix-2.0
GIR namespace when using it.New in version 2.24.
- classmethod get_fd(fd_based)¶
- Parameters:
fd_based (
Gio.FileDescriptorBased
) – aGioUnix.FileDescriptorBased
.- Returns:
The file descriptor
- Return type:
Gets the underlying file descriptor.
New in version 2.24.