glibmm: Gio Namespace Reference
Namespaces | |
| namespace | DBus |
Classes | |
| class | Action |
| Action - An action. More... | |
| class | ActionGroup |
| ActionGroup - a group of actions. More... | |
| class | ActionMap |
| ActionMap - Interface for action containers. More... | |
| class | AppLaunchContext |
| This is used to handle, for instance, startup notification and launching of the new application on the same screen as the launching window. More... | |
| class | AppInfo |
| Application information, to describe applications installed on the system, and launch them. More... | |
| class | Application |
| Application - Core application class. More... | |
| class | ApplicationCommandLine |
| ApplicationCommandLine - A command-line invocation of an application. More... | |
| class | AsyncInitable |
| AsyncInitable - Asynchronously failable object initialization interface. More... | |
| class | AsyncResult |
| Provides a base class for implementing asynchronous function results. More... | |
| class | BufferedInputStream |
| The buffered input stream implements FilterInputStream and provides for buffered reads. More... | |
| class | BufferedOutputStream |
| The buffered output stream implements FilterOutputStream and provides for buffered writes. More... | |
| class | Cancellable |
| Allows actions to be cancelled. More... | |
| class | Credentials |
| An object containing credentials. More... | |
| class | DataInputStream |
| An implementation of BufferedInputStream that allows for high-level data manipulation of arbitrary data (including binary operations). More... | |
| class | DataOutputStream |
| An implementation of BufferedOutputStream that allows for high-level data manipulation of arbitrary data (including binary operations). More... | |
| class | Drive |
| Virtual File System drive management. More... | |
| class | Emblem |
| An object for emblems. More... | |
| class | EmblemedIcon |
| Icons with Emblems. More... | |
| class | Error |
| Exception class for giomm errors. More... | |
| class | ResolverError |
| class | File |
| File and directory handling. More... | |
| class | FileAttributeInfo |
| Information about a specific attribute - see FileAttributeInfoList. More... | |
| class | FileAttributeInfoList |
| Key-Value paired file attributes. More... | |
| class | FileEnumerator |
| Enumerated Files Routines. More... | |
| class | FileIcon |
| FileIcon specifies an icon by pointing to an image file to be used as icon. More... | |
| class | FileAttributeMatcher |
| FileAttributeMatcher allows for searching through a FileInfo for attributes. More... | |
| class | FileInfo |
| FileInfo implements methods for getting information that all files should contain, and allows for manipulation of extended attributes. More... | |
| class | FileInputStream |
| FileInputStream provides input streams that take their content from a file. More... | |
| class | FileIOStream |
| FileIOStream provides input streams that take their content from a file. More... | |
| class | FileMonitor |
| Monitors a file or directory for changes. More... | |
| class | FilenameCompleter |
| Completes partial file and directory names given a partial string by looking in the file system for clues. More... | |
| class | FileOutputStream |
| FileOutputStream provides output streams that write their content to a file. More... | |
| class | FilterInputStream |
| Filter Input Stream. More... | |
| class | FilterOutputStream |
| Filter Output Stream. More... | |
| class | Icon |
| This is a very minimal interface for icons. More... | |
| class | InetAddress |
| An IPv4/IPv6 address. More... | |
| class | InetSocketAddress |
| Internet SocketAddress. More... | |
| class | Initable |
| Failable object initialization interface. More... | |
| class | InputStream |
| Base class for implementing streaming input. More... | |
| class | IOStream |
| class | LoadableIcon |
| Extends the Icon interface and adds the ability to load icons from streams. More... | |
| class | MemoryInputStream |
| MemoryInputStream implements InputStream for arbitrary memory chunks. More... | |
| class | MemoryOutputStream |
| Streaming output operations on memory chunks. More... | |
| class | MenuAttributeIter |
| MenuAttributeIter - A menu attribute iterator. More... | |
| class | MenuLinkIter |
| MenuLinkIter - A menu link iterator. More... | |
| class | Menu |
| TODO. More... | |
| class | MenuItem |
| TODO. More... | |
| class | MenuModel |
| MenuModel - An abstract class representing the contents of a menu. More... | |
| class | Mount |
| The Mount interface represents user-visible mounts. More... | |
| class | MountOperation |
| Authentication methods for mountable locations. More... | |
| class | NetworkAddress |
| A SocketConnectable for resolving hostnames. More... | |
| class | NetworkService |
| A GSocketConnectable for resolving SRV records. More... | |
| class | OutputStream |
| Base class for implementing streaming output. More... | |
| class | Proxy |
| Proxy - Interface for proxy handling. More... | |
| class | ProxyAddress |
| ProxyAddress - An internet address with proxy information. More... | |
| class | ProxyResolver |
| ProxyResolver - Asynchronous and cancellable network proxy resolver. More... | |
| class | RemoteActionGroup |
| RemoteActionGroup - a ActionGroup that interacts with other processes. More... | |
| class | Resolver |
| Asynchronous and cancellable DNS resolver. More... | |
| class | Seekable |
| Stream seeking interface. More... | |
| class | Settings |
| A high-level API for application settings. More... | |
| class | SimpleAction |
| SimpleAction - A simple Action implementation. More... | |
| class | SimpleActionGroup |
| SimpleActionGroup - A simple ActionGroup implementation. More... | |
| class | Socket |
| Low-level socket object. More... | |
| class | SocketAddress |
| Abstract base class representing endpoints for socket communication. More... | |
| class | SocketAddressEnumerator |
| Enumerator type for objects that contain or generate SocketAddresses. More... | |
| class | SocketClient |
| Helper for connecting to a network service. More... | |
| class | SocketConnectable |
| Interface for potential socket endpoints. More... | |
| class | SocketConnection |
| A socket connection. More... | |
| class | SocketControlMessage |
| SocketControlMessage - A Socket control message. More... | |
| class | SocketListener |
| Helper for accepting network client connections. More... | |
| class | SocketService |
| Make it easy to implement a network service. More... | |
| class | SrvTarget |
| DNS SRV record target. More... | |
| class | TcpConnection |
| A TCP SocketConnection. More... | |
| class | ThreadedSocketService |
| A threaded GSocketService. More... | |
| class | ThemedIcon |
| Icon theming support ThemedIcon is an implementation of Gio::Icon that supports icon themes. More... | |
| class | Volume |
| The Volume interface represents user-visible objects that can be mounted. More... | |
| class | VolumeMonitor |
| Monitors a file or directory for changes. More... | |
| class | DesktopAppInfo |
| DesktopAppInfo is an implementation of AppInfo based on desktop files. More... | |
| class | UnixConnection |
| A Unix domain SocketConnection. More... | |
| class | UnixCredentialsMessage |
| UnixCredentialsMessage - A SocketControlMessage containing credentials. More... | |
| class | UnixFDList |
| UnixFDList - An object containing a set of UNIX file descriptors. More... | |
| class | UnixFDMessage |
| UnixFDMessage — A GSocketControlMessage containing a GUnixFDList. More... | |
| class | UnixInputStream |
| UnixInputStream implements InputStream for reading from a unix file descriptor, including asynchronous operations. More... | |
| class | UnixOutputStream |
| UnixOutputStream implements OutputStream for writing to a a unix file descriptor, including asynchronous operations. More... | |
| class | UnixSocketAddress |
| UnixSocketAddress - UNIX SocketAddress. More... | |
Typedefs | |
| typedef sigc::slot< void, Glib::RefPtr< AsyncResult >& > | SlotAsyncReady |
| A function that will be called when an asynchronous operation within GIO has been completed. | |
| typedef Glib::ListHandle < Gio::SrvTarget, SrvTargetListTraits > | ListHandle_SrvTarget |
Typedef Documentation
| typedef Glib::ListHandle<Gio::SrvTarget, SrvTargetListTraits> Gio::ListHandle_SrvTarget |
| typedef sigc::slot<void, Glib::RefPtr<AsyncResult>& > Gio::SlotAsyncReady |
A function that will be called when an asynchronous operation within GIO has been completed.
- Parameters:
-
result The asynchronous function's results.
For instance,
Enumeration Type Documentation
| enum Gio::MenuAttribute |
| enum Gio::MenuLink |
Function Documentation
| bool Gio::content_type_can_be_executable | ( | const Glib::ustring& | type | ) |
Checks if a content type can be executable.
Note that for instance things like text files can be executables (i.e. scripts and batch files).
- Parameters:
-
type a content type string.
- Returns:
- true if the file type corresponds to a type that can be executable, false otherwise.
| bool Gio::content_type_equals | ( | const Glib::ustring& | type1, |
| const Glib::ustring& | type2 | ||
| ) |
Compares two content types for equality.
- Parameters:
-
type1 A content type string. type2 A content type string.
- Returns:
- true if the two strings are identical or equivalent, false otherwise.
| Glib::ustring Gio::content_type_from_mime_type | ( | const Glib::ustring& | mime_type | ) |
Tries to find a content type based on the mime type name.
- Parameters:
-
mime_type a mime type string.
- Returns:
- string with content type or empty when it does not know.
| Glib::ustring Gio::content_type_get_description | ( | const Glib::ustring& | type | ) |
Gets the human readable description of the content type.
- Parameters:
-
type A content type string.
- Returns:
- a short description of the content type type.
| Glib::RefPtr<Icon> Gio::content_type_get_icon | ( | const Glib::ustring& | type | ) |
- Parameters:
-
type A content type string.
Gets the icon for a content type.
- Returns:
- Icon corresponding to the content type.
| Glib::ustring Gio::content_type_get_mime_type | ( | const Glib::ustring& | type | ) |
Gets the mime-type for the content type.
If one is registered
- Parameters:
-
type A content type string.
- Returns:
- the registered mime-type for the given type, or NULL if unknown.
| Glib::ustring Gio::content_type_guess | ( | const std::string & | filename, |
| const guchar * | data, | ||
| gsize | data_size, | ||
| bool & | result_uncertain | ||
| ) |
Guesses the content type based on example data.
If the function is uncertain, result_uncertain will be set to true
- Parameters:
-
filename a string. data A stream of data. data_size The size of data. result_uncertain A flag indicating the certainty of the result.
- Returns:
- A string indicating a guessed content type for the given data.
| Glib::ustring Gio::content_type_guess | ( | const std::string & | filename, |
| const std::string & | data, | ||
| bool & | result_uncertain | ||
| ) |
Guesses the content type based on example data.
If the function is uncertain, result_uncertain will be set to true
- Parameters:
-
filename a string. data A stream of data. result_uncertain A flag indicating the certainty of the result.
- Returns:
- A string indicating a guessed content type for the given data.
| Glib::StringArrayHandle Gio::content_type_guess_for_tree | ( | const Glib::RefPtr< const File >& | root | ) |
Tries to guess the type of the tree with root root, by looking at the files it contains.
The result is a list of content types, with the best guess coming first.
The types returned all have the form x-content/foo, e.g. x-content/audio-cdda (for audio CDs) or x-content/image-dcf (for a camera memory card). See the <ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">shared-mime-info</ulink> specification for more on x-content types.
- Parameters:
-
root The root of the tree to guess a type for.
- Returns:
- List of zero or more content types.
| bool Gio::content_type_is_a | ( | const Glib::ustring& | type, |
| const Glib::ustring& | supertype | ||
| ) |
Determines if type is a subset of supertype.
- Parameters:
-
type A content type string. supertype A string.
- Returns:
- true if type is a kind of supertype, false otherwise.
| bool Gio::content_type_is_unknown | ( | const Glib::ustring& | type | ) |
Checks if the content type is the generic "unknown" type.
On unix this is the "application/octet-stream" mimetype, while on win32 it is "*".
- Parameters:
-
type A content type string.
- Returns:
- true if the type is the unknown type.
| Glib::ListHandle<Glib::ustring> Gio::content_types_get_registered | ( | ) |
Gets a list of strings containing all the registered content types known to the system.
- Returns:
- List of the registered content types.
| bool Gio::hostname_is_ascii_encoded | ( | const Glib::ustring& | hostname | ) |
| bool Gio::hostname_is_ip_address | ( | const Glib::ustring& | hostname | ) |
| bool Gio::hostname_is_non_ascii | ( | const Glib::ustring& | hostname | ) |
| std::string Gio::hostname_to_ascii | ( | const Glib::ustring& | hostname | ) |
| Glib::ustring Gio::hostname_to_unicode | ( | const Glib::ustring& | hostname | ) |
| void Gio::init | ( | ) |
Initialize giomm.
