InfGtk.PermissionsDialog

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Gtk.Window Gtk.Window Gtk.Bin->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Dialog Gtk.Dialog InfGtk.PermissionsDialog InfGtk.PermissionsDialog Gtk.Dialog->InfGtk.PermissionsDialog Gtk.Widget->Gtk.Container Gtk.Window->Gtk.Dialog

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

new (parent, dialog_flags, browser, iter)

set_node (browser, iter)

Virtual Methods

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

browser

Infinity.Browser

r/w/co

The browser with the node for which to show the permissions

browser-iter

Infinity.BrowserIter

r/w/co

An iterator pointing to the node inside the browser for which to show the permissions

Style Properties

Inherited:

Gtk.Dialog (4), Gtk.Window (2), Gtk.Widget (17)

Signals

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.Dialog

r

Class Details

class InfGtk.PermissionsDialog(*args, **kwargs)
Bases:

Gtk.Dialog

Abstract:

No

Structure:

InfGtk.PermissionsDialogClass

InfGtk.PermissionsDialog is an opaque data type. You should only access it via the public API functions.

classmethod new(parent, dialog_flags, browser, iter)
Parameters:
Returns:

A new InfGtk.PermissionsDialog. Free with Gtk.Widget.destroy() when no longer needed.

Return type:

InfGtk.PermissionsDialog

Creates a new InfGtk.PermissionsDialog, showing the ACL for the node iter points to inside browser. If browser is None, iter must be None, too. In that case no permissions are shown, and the node to be shown can be set later with InfGtk.PermissionsDialog.set_node().

set_node(browser, iter)
Parameters:

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:

Infinity.Browser

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The browser with the node for which to show the permissions

InfGtk.PermissionsDialog.props.browser_iter
Name:

browser-iter

Type:

Infinity.BrowserIter

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

An iterator pointing to the node inside the browser for which to show the permissions