InfGtk.AclSheetView¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Grid (21), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Grid (5), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
Whether the sheet can be edited by the user or not |
||
r/w |
Specifies which permissions to show in the sheet view |
||
r/w/c |
The ACL sheet the widget is displaying |
||
r/w |
Whether to show the “default” column |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
This signal is emitted when the |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class InfGtk.AclSheetView(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
InfGtk.AclSheetView
is an opaque data type. You should only access it via the public API functions.- classmethod new()¶
- Returns:
A new
InfGtk.AclSheetView
.- Return type:
Creates a new
InfGtk.AclSheetView
. To show a sheet in the view, callInfGtk.AclSheetView.set_sheet
().
- get_editable()¶
-
Returns whether the sheet being displayed by self can be edited by the user or not.
- get_permission_mask()¶
- Returns:
A
Infinity.AclMask
owned by self. It must not be freed.- Return type:
Returns a
Infinity.AclMask
specifies which permissions are currently being shown by self.
- get_sheet()¶
- Returns:
A
Infinity.AclSheet
owned by self, orNone
.- Return type:
Returns the sheet that is currently being displayed by self, or
None
if there is no sheet displayed.
- get_show_default()¶
-
Returns whether the “default” column is shown.
- set_editable(editable)¶
- Parameters:
editable (
bool
) – Whether to make the sheet editable or not.
Sets whether the sheet being displayed by self can be edited by the user or not.
- set_permission_mask(mask)¶
- Parameters:
mask (
Infinity.AclMask
) – AInfinity.AclMask
with the permissions to show.
Sets which permissions of the sheet to show. Only the permissions that are enabled in mask ar being shown. By default all permissions are shown.
- set_sheet(sheet)¶
- Parameters:
sheet (
Infinity.AclSheet
orNone
) – TheInfinity.AclSheet
to show, orNone
.
Sets the sheet to be displayed by self.
- set_show_default(show)¶
- Parameters:
show (
bool
) – Whether to show the default column.
Specifies whether the “default” column is shown, and whether it is allowed to change certain permissions to the default value or not. The ACL sheet for the default account of a directory’s root node is not allowed to have default permissions. In this case this function should be called to hide the default column from the user interface.
- do_sheet_changed() virtual¶
Signal Details¶
- InfGtk.AclSheetView.signals.sheet_changed(acl_sheet_view)¶
- Signal Name:
sheet-changed
- Flags:
- Parameters:
acl_sheet_view (
InfGtk.AclSheetView
) – The object which received the signal
This signal is emitted when the
Infinity.AclSheet
displayed by view was changed by the user.
Property Details¶
- InfGtk.AclSheetView.props.editable¶
-
Whether the sheet can be edited by the user or not
- InfGtk.AclSheetView.props.permission_mask¶
- Name:
permission-mask
- Type:
- Default Value:
- Flags:
Specifies which permissions to show in the sheet view
- InfGtk.AclSheetView.props.sheet¶
- Name:
sheet
- Type:
- Default Value:
- Flags:
The ACL sheet the widget is displaying