InfGtk.PermissionsDialog¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Dialog (14), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
The browser with the node for which to show the permissions |
||
r/w/co |
An iterator pointing to the node inside the browser for which to show the permissions |
Style Properties¶
- Inherited:
Signals¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class InfGtk.PermissionsDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
InfGtk.PermissionsDialogis an opaque data type. You should only access it via the public API functions.- classmethod new(parent, dialog_flags, browser, iter)¶
- Parameters:
parent (
Gtk.Window) – ParentGtk.Windowof the dialog.dialog_flags (
Gtk.DialogFlags) – Flags for the dialog, seeGtk.DialogFlags.browser (
Infinity.BrowserorNone) – TheInfinity.Browsercontaining the node to show permissions for, orNone.iter (
Infinity.BrowserIterorNone) – An iterator pointing to the node to show permissions for, orNone.
- Returns:
A new
InfGtk.PermissionsDialog. Free withGtk.Widget.destroy() when no longer needed.- Return type:
Creates a new
InfGtk.PermissionsDialog, showing the ACL for the node iter points to inside browser. If browser isNone, iter must beNone, too. In that case no permissions are shown, and the node to be shown can be set later withInfGtk.PermissionsDialog.set_node().
- set_node(browser, iter)¶
- Parameters:
browser (
Infinity.BrowserorNone) – TheInfinity.Browsercontaining the node to show permissions for, orNone.iter (
Infinity.BrowserIterorNone) – An iterator pointing to the node to show permissions for, orNone.
Changes the node the dialog shows permissions for. To unset the node, both browser and iter should be
None.
Property Details¶
- InfGtk.PermissionsDialog.props.browser¶
- Name:
browser- Type:
- Default Value:
- Flags:
The browser with the node for which to show the permissions
- InfGtk.PermissionsDialog.props.browser_iter¶
- Name:
browser-iter- Type:
- Default Value:
- Flags:
An iterator pointing to the node inside the browser for which to show the permissions