Enums¶
Details¶
- class InfGtk.BrowserModelColumn(value)¶
Bases:
GLib.EnumThe various
Gtk.TreeModelcolumns that a tree model implementingInfGtk.BrowserModelmust support.- COL_DISCOVERY_INFO = 0¶
The
Infinity.DiscoveryInfoof a discovered toplevel item, orNoneif the item was not discovered.
- COL_DISCOVERY = 1¶
The
Infinity.Discoveryobject that the item has been discovered with, if any.
- COL_BROWSER = 2¶
The
Infinity.Browserwith which this item is being browsed, orNoneif no browser is available.
- COL_STATUS = 3¶
The status of this item. This column is only valid for toplevel items, i.e. for connections to directories.
- COL_NAME = 4¶
The name of the item as a simple string.
- COL_ERROR = 5¶
If an error has occurred with the item, for example the connection failed, or a node exploration failed, this column contains a
GLib.Errorwith more error information.
- COL_NODE = 6¶
The
Infinity.BrowserIterpointing to the corresponding node of theInfinity.Browser.
- NUM_COLS = 7¶
The total number of columns of a
InfGtk.BrowserModel.
- class InfGtk.BrowserModelStatus(value)¶
Bases:
GObject.GEnumThe different statuses an item in the
InfGtk.BrowserModelcan have. The status of an item is only defined for toplevel items in the tree.- DISCOVERED = 1¶
The item was discovered with a
Infinity.Discovery, but no attempt has been made at connecting to it.
- RESOLVING = 2¶
The item was discovered with a
Infinity.Discoveryand is currently being resolved, seeInfinity.Discovery.resolve().
- CONNECTING = 4¶
A connection attempt to the remote site is currently in progress.
- CONNECTED = 5¶
A connection to the remote site has been established and its directory can be browsed.
- ERROR = 6¶
An error has occured with this item. The column with index
InfGtk.BrowserModelColumn.COL_ERRORhas more information about the error that occurred.