activatable
===========

activatable

Slots:

  * related-action. Type: action. Accessor: activatable-related-action.

  * use-action-appearance. Type: boolean. Accessor: activatable-use-action-appearance.

Signals:

atk-implementor-iface
=====================

atk-implementor-iface

Slots:

Signals:

buildable
=========

buildable

Slots:

Signals:

cell-editable
=============

cell-editable

Slots:

Signals:

  * "editing-done". Signature: (instance cell-editable) => void. Options: run-last.

  * "remove-widget". Signature: (instance cell-editable) => void. Options: run-last.

cell-layout
===========

cell-layout

Slots:

Signals:

editable
========

editable

The editable interface is an interface which should be implemented by text editing widgets, such as entry. It contains functions for generically manipulating an editable widget, a large number of action signals used for key bindings, and several signals that an application can connect to to modify the behavior of a widget.

Slots:

  * editable. Type: boolean. Accessor: editable-editable.

     Whether the user can edit the text in the editable widget or not.

  * position. Type: integer. Accessor: editable-position.

     The cursor position in the editable.

     The cursor is displayed before the character with the given (base 0) index in the contents of the editable. The value must be less than or equal to the number of characters in the editable. A value of -1 indicates that the position should be set after the last character of the editable. Note that position is in characters, not in bytes.

Signals:

  * "changed". Signature: (instance editable) => void. Options: run-last.

     This signal is emitted at the end of a single user-visible operation on the contents of the editable.

     E.g., a paste operation that replaces the contents of the selection will cause only one signal emission (even though it is implemented by first deleting the selection, then inserting the new content, and may cause multiple ::notify::text signals to be emitted).

  * "delete-text". Signature: (instance editable), (starting-position integer), (end-position integer) => void. Options: run-last.

     This signal is emitted when text is deleted from the widget by the user. The default handler for this signal will normally be responsible for deleting the text, so by connecting to this signal and then stopping the signal with g_signal_stop_emission (TODO), it is possible to modify the range of deleted text, or prevent it from being deleted entirely. The start_pos and end_pos parameters are interpreted as for editable-delete-text.

  * "insert-text". Signature: (instance editable), (new-text string), (new-text-length integer), (position gpointer) => void. Options: run-last.

     This signal is emitted when text is inserted into the widget by the user. The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with g_signal_stop_emission(), it is possible to modify the inserted text, or prevent it from being inserted entirely.

     POSITION: a pointer to the position (of the CFFI foreign type :integer), in characters, at which to insert the new text. After the signal emission is finished, it should point after the newly inserted text.

editable-select-region

     (editable-select-region editable start end)

Selects a region of text in EDITABLE. The characters that are selected are those characters at positions from START (an integer) up to, but not including END (an integer). If END is negative, then the the characters selected are those characters from START to the end of the text.

Note that positions are specified in characters, not bytes.

editable-selection

     (editable-selection editable) => (values selected-p start end)

Retrieves the selection bounds of the EDITABLE. SELECTED-P is a boolean specifying whether there is a selection, START is the start of the selection and END is the end of the selection. If no text was selected, START and END will be identical and SELECTED-P will be NIL.

Note that positions are specified in characters, not bytes.

editable-insert-text

     (editable-insert-text editable text position) => new-position

Inserts the TEXT (a string) into the contents of the EDITABLE, at position specified by POSITION (an integer). Returns the position after the inserted text.

Note that the position is in characters, not in bytes.

editable-delete-text

     (editable-delete-text editable start end)

Deletes a sequence of characters. The characters that are deleted are those characters at positions from START up to, but not including END. If END is negative, then the the characters deleted are those from START to the end of the text.

Note that the positions are specified in characters, not bytes.

editable-get-chars

     (editable-get-chars editable &key (start 0) (end -1)) => string

Retrieves a substring from EDITABLE contents. The characters that are retrieved are those characters at positions from START up to, but not including END. If END is negative, then the the characters retrieved are those characters from START to the end of the text.

editable-cut-clipboard

     (editable-cut-clipboard editable)

Removes the contents of the currently selected content in the EDITABLE and puts it on the clipboard.

editable-copy-clipboard

     (editable-copy-clipboard editable)

Copies the contents of the currently selected content in the EDITABLE and puts it on the clipboard.

editable-paste-clipboard

     (editable-paste-clipboard editable)

Pastes the content of the clipboard to the current position of the cursor in the EDITABLE.

file-chooser
============

file-chooser

Slots:

  * action. Type: file-chooser-action. Accessor: file-chooser-action.

  * current-folder. Type: string. Accessor: file-chooser-current-folder.

  * current-folder-uri. Type: string. Accessor: file-chooser-current-folder-uri.

  * current-name. Type: string. Accessor: file-chooser-current-name. Write-only.

  * do-overwrite-confirmation. Type: boolean. Accessor: file-chooser-do-overwrite-confirmation.

  * extra-widget. Type: widget. Accessor: file-chooser-extra-widget.

  * file-system-backend. Type: string. Accessor: file-chooser-file-system-backend. Write-only.

  * filename. Type: string. Accessor: file-chooser-filename.

  * filter. Type: file-filter. Accessor: file-chooser-filter.

  * local-only. Type: boolean. Accessor: file-chooser-local-only.

  * preview-filename. Type: string. Accessor: file-chooser-preview-filename. Read-only.

  * preview-uri. Type: string. Accessor: file-chooser-preview-uri. Read-only.

  * preview-widget. Type: widget. Accessor: file-chooser-preview-widget.

  * preview-widget-active. Type: boolean. Accessor: file-chooser-preview-widget-active.

  * select-multiple. Type: boolean. Accessor: file-chooser-select-multiple.

  * show-hidden. Type: boolean. Accessor: file-chooser-show-hidden.

  * uri. Type: string. Accessor: file-chooser-uri.

  * use-preview-label. Type: boolean. Accessor: file-chooser-use-preview-label.

Signals:

  * "confirm-overwrite". Signature: (instance file-chooser) => file-chooser-confirmation. Options: run-last.

  * "current-folder-changed". Signature: (instance file-chooser) => void. Options: run-last.

  * "file-activated". Signature: (instance file-chooser) => void. Options: run-last.

  * "selection-changed". Signature: (instance file-chooser) => void. Options: run-last.

  * "update-preview". Signature: (instance file-chooser) => void. Options: run-last.

file-chooser-embed
==================

file-chooser-embed

Slots:

Signals:

  * "default-size-changed". Signature: (instance file-chooser-embed) => void. Options: run-last.

  * "response-requested". Signature: (instance file-chooser-embed) => void. Options: run-last.

orientable
==========

orientable

Slots:

  * orientation. Type: orientation. Accessor: orientable-orientation.

Signals:

print-operation-preview
=======================

print-operation-preview

Slots:

Signals:

  * "got-page-size". Signature: (instance print-operation-preview), (arg-1 print-context), (arg-2 page-setup) => void. Options: run-last.

  * "ready". Signature: (instance print-operation-preview), (arg-1 print-context) => void. Options: run-last.

recent-chooser
==============

recent-chooser

Slots:

  * filter. Type: recent-filter. Accessor: recent-chooser-filter.

  * limit. Type: integer. Accessor: recent-chooser-limit.

  * local-only. Type: boolean. Accessor: recent-chooser-local-only.

  * recent-manager. Type: recent-manager. Accessor: recent-chooser-recent-manager. Write-only.

  * select-multiple. Type: boolean. Accessor: recent-chooser-select-multiple.

  * show-icons. Type: boolean. Accessor: recent-chooser-show-icons.

  * show-not-found. Type: boolean. Accessor: recent-chooser-show-not-found.

  * show-private. Type: boolean. Accessor: recent-chooser-show-private.

  * show-tips. Type: boolean. Accessor: recent-chooser-show-tips.

  * sort-type. Type: recent-sort-type. Accessor: recent-chooser-sort-type.

Signals:

  * "item-activated". Signature: (instance recent-chooser) => void. Options: run-last.

  * "selection-changed". Signature: (instance recent-chooser) => void. Options: run-last.

tool-shell
==========

tool-shell

Slots:

Signals:

tree-drag-dest
==============

tree-drag-dest

Slots:

Signals:

tree-drag-source
================

tree-drag-source

Slots:

Signals:

tree-model
==========

tree-model

Slots:

Signals:

  * "row-changed". Signature: (instance tree-model), (arg-1 tree-path), (arg-2 tree-iter) => void. Options: run-last.

  * "row-deleted". Signature: (instance tree-model), (arg-1 tree-path) => void. Options: run-first.

  * "row-has-child-toggled". Signature: (instance tree-model), (arg-1 tree-path), (arg-2 tree-iter) => void. Options: run-last.

  * "row-inserted". Signature: (instance tree-model), (arg-1 tree-path), (arg-2 tree-iter) => void. Options: run-first.

  * "rows-reordered". Signature: (instance tree-model), (arg-1 tree-path), (arg-2 tree-iter), (arg-3 gpointer) => void. Options: run-first.

tree-sortable
=============

tree-sortable

Slots:

Signals:

  * "sort-column-changed". Signature: (instance tree-sortable) => void. Options: run-last.