file: functions.aus

class: GtkApi

[3493:14] static extends: object

Generated low-level function wrappers for namespace Gtk.

Members

Methods

class: GtkFlowBoxCreateWidgetFuncCallback

[831:7] extends: object

Called for flow boxes that are bound to a GListModel. This function is called for each item that gets added to the model.

Members

Methods

class: GtkTextCharPredicateCallback

[2301:7] extends: object

The predicate function used by gtk_text_iter_forward_find_char() and gtk_text_iter_backward_find_char().

Members

Methods

class: GtkFontFilterFuncCallback

[1120:7] extends: object

The type of function that is used for deciding what fonts get shown in a GtkFontChooser. See [method@Gtk.FontChooser.set_filter_func].

Members

Methods

class: GtkFlowBoxSortFuncCallback

[1048:7] extends: object

A function to compare two children to determine which should come first.

Members

Methods

class: GtkTreeCellDataFuncCallback

[2518:7] extends: object

A function to set the properties of a cell instead of just using the straight mapping between the cell and the model. This function is useful for customizing the cell renderer. For example, a function might get an* integer from the @tree_model, and render it to the “text” attribute of “cell” by converting it to its written equivalent. See also: gtk_tree_view_column_set_cell_data_func()

Members

Methods

class: GtkPageSetupDoneFuncCallback

[1780:7] extends: object

The type of function that is passed to gtk_print_run_page_setup_dialog_async(). This function will be called when the page setup dialog is dismissed, and also serves as destroy notify for @data.

Members

Methods

class: GtkTextTagTableForeachCallback

[2371:7] extends: object

A function used with gtk_text_tag_table_foreach(), to iterate over every GtkTextTag inside a GtkTextTagTable.

Members

Methods

class: GtkPrinterFuncCallback

[1994:7] extends: object

The type of function passed to gtk_enumerate_printers(). Note that you need to ref @printer, if you want to keep a reference to it after the function has returned.

Members

Methods

class: GtkListBoxUpdateHeaderFuncCallback

[1557:7] extends: object

Whenever @row changes or which row is before @row changes this is called, which lets you update the header on @row. You may remove or set a new one via [method@Gtk.ListBoxRow.set_header] or just change the state of the current header widget.

Members

Methods

class: GtkTickCallbackCallback

[2442:7] extends: object

Callback type for adding a function to update animations. See [method@Gtk.Widget.add_tick_callback].

Members

Methods

class: GtkFlowBoxFilterFuncCallback

[906:7] extends: object

A function that will be called whenever a child changes or is added. It lets you control if the child should be visible or not.

Members

Methods

class: GtkCellAllocCallbackCallback

[86:7] extends: object

The type of the callback functions used for iterating over the cell renderers and their allocated areas inside a GtkCellArea, see gtk_cell_area_foreach_alloc().

Members

Methods

class: GtkIconViewForeachFuncCallback

[1192:7] extends: object

A function used by gtk_icon_view_selected_foreach() to map all selected rows. It will be called on every selected row in the view.

Members

Methods

class: GtkCustomAllocateFuncCallback

[303:7] extends: object

A function to be used by GtkCustomLayout to allocate a widget.

Members

Methods

class: GtkTreeViewMappingFuncCallback

[3202:7] extends: object

Function used for gtk_tree_view_map_expanded_rows().

Members

Methods

class: GtkEntryCompletionMatchFuncCallback

[690:7] extends: object

A function which decides whether the row indicated by @iter matches a given @key, and should be displayed as a possible completion for @key. Note that @key is normalized and case-folded (see g_utf8_normalize() and g_utf8_casefold()). If this is not appropriate, match functions have access to the unmodified key via gtk_editable_get_text (GTK_EDITABLE (gtk_entry_completion_get_entry ())).

Members

Methods

class: GtkCellCallbackCallback

[159:7] extends: object

The type of the callback functions used for iterating over the cell renderers of a GtkCellArea, see gtk_cell_area_foreach().

Members

Methods

class: GtkMapListModelMapFuncCallback

[1630:7] extends: object

User function that is called to map an @item of the original model to an item expected by the map model. The returned items must conform to the item type of the model they are used with.

Members

Methods

class: GtkTreeSelectionForeachFuncCallback

[2975:7] extends: object

A function used by gtk_tree_selection_selected_foreach() to map all selected rows. It will be called on every selected row in the view.

Members

Methods

class: GtkCustomMeasureFuncCallback

[445:7] extends: object

A function to be used by GtkCustomLayout to measure a widget.

Members

Methods

class: GtkDrawingAreaDrawFuncCallback

[614:7] extends: object

Whenever @drawing_area needs to redraw, this function will be called. This function should exclusively redraw the contents of the drawing area and must not call any widget functions that cause changes.

Members

Methods

class: GtkPrintSettingsFuncCallback

[1923:7] extends: object

Function called by [method@Gtk.PrintSettings.foreach] on every key/value pair inside a [class@Gtk.PrintSettings].

Members

Methods

class: GtkAssistantPageFuncCallback

[15:7] extends: object

Type of callback used to calculate the next page in a GtkAssistant. It’s called both for computing the next page when the user presses the “forward” button and for handling the behavior of the “last” button. See [method@Gtk.Assistant.set_forward_page_func].

Members

Methods

class: GtkTreeSelectionFuncCallback

[3050:7] extends: object

A function used by gtk_tree_selection_set_select_function() to filter whether or not a row may be selected. It is called whenever a row's state might change. A return value of %TRUE indicates to @selection that it is okay to change the selection.

Members

Methods

class: GtkMenuButtonCreatePopupFuncCallback

[1707:7] extends: object

User-provided callback function to create a popup for a GtkMenuButton on demand. This function is called when the popup of @menu_button is shown, but none has been provided via [method@Gtk.MenuButton.set_popover] or [method@Gtk.MenuButton.set_menu_model].

Members

Methods

class: GtkPrintJobCompleteFuncCallback

[1851:7] extends: object

The type of callback that is passed to gtk_print_job_send(). It is called when the print job has been completely sent.

Members

Methods

class: GtkCustomRequestModeFuncCallback

[542:7] extends: object

Queries a widget for its preferred size request mode.

Members

Methods

class: GtkCustomFilterFuncCallback

[375:7] extends: object

User function that is called to determine if the @item should be matched. If the filter matches the item, this function must return true. If the item should be filtered out, false must be returned.

Members

Methods

class: GtkTreeModelFilterVisibleFuncCallback

[2830:7] extends: object

A function which decides whether the row indicated by @iter is visible.

Members

Methods

class: GtkTreeViewSearchEqualFuncCallback

[3349:7] extends: object

A function used for checking whether a row in @model matches a search key string entered by the user. Note the return value is reversed from what you would normally expect, though it has some similarity to strcmp() returning 0 for equal strings.

Members

Methods

class: GtkListBoxCreateWidgetFuncCallback

[1266:7] extends: object

Called for list boxes that are bound to a GListModel with gtk_list_box_bind_model() for each item that gets added to the model. If the widget returned is not a #GtkListBoxRow widget, then the widget will be inserted as the child of an intermediate #GtkListBoxRow.

Members

Methods

class: GtkTextBufferCommitNotifyCallback

[2229:7] extends: object

A notification callback used by [method@Gtk.TextBuffer.add_commit_notify]. You may not modify the [class@Gtk.TextBuffer] from a [callback@Gtk.TextBufferCommitNotify] callback and that is enforced by the [class@Gtk.TextBuffer] API. [callback@Gtk.TextBufferCommitNotify] may be used to be notified about changes to the underlying buffer right before-or-after the changes are committed to the underlying B-Tree. This is useful if you want to observe changes to the buffer without other signal handlers potentially modifying state on the way to the default signal handler. When @flags is GTK_TEXT_BUFFER_NOTIFY_BEFORE_INSERT, position is set to the offset in characters from the start of the buffer where the insertion will occur. length is set to the number of characters to be inserted. You may not yet retrieve the text until it has been inserted. You may access the text from GTK_TEXT_BUFFER_NOTIFY_AFTER_INSERT using [method@Gtk.TextBuffer.get_slice]. When @flags is GTK_TEXT_BUFFER_NOTIFY_AFTER_INSERT, position is set to offset in characters where the insertion occurred and length is set to the number of characters inserted. When @flags is GTK_TEXT_BUFFER_NOTIFY_BEFORE_DELETE, position is set to offset in characters where the deletion will occur and length is set to the number of characters that will be removed. You may still retrieve the text from this handler using position and length. When @flags is GTK_TEXT_BUFFER_NOTIFY_AFTER_DELETE, length is set to zero to denote that the delete-range has already been committed to the underlying B-Tree. You may no longer retrieve the text that has been deleted from the [class@Gtk.TextBuffer].

Members

Methods

class: GtkFlowBoxForeachFuncCallback

[977:7] extends: object

A function used by gtk_flow_box_selected_foreach(). It will be called on every selected child of the @box.

Members

Methods

class: GtkListBoxFilterFuncCallback

[1341:7] extends: object

Will be called whenever the row changes or is added and lets you control if the row should be visible or not.

Members

Methods

class: GtkTreeModelForeachFuncCallback

[2902:7] extends: object

Type of the callback passed to gtk_tree_model_foreach() to iterate over the rows in a tree model.

Members

Methods

class: GtkTreeViewRowSeparatorFuncCallback

[3275:7] extends: object

Function type for determining whether the row pointed to by @iter should be rendered as a separator. A common way to implement this is to have a boolean column in the model, whose values the GtkTreeViewRowSeparatorFunc returns.

Members

Methods

class: GtkListBoxForeachFuncCallback

[1412:7] extends: object

A function used by gtk_list_box_selected_foreach(). It will be called on every selected child of the @box.

Members

Methods

class: GtkTreeIterCompareFuncCallback

[2598:7] extends: object

A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive integer if @a sorts before @b, @a sorts with @b, or @a sorts after @b respectively. If two iters compare as equal, their order in the sorted model is undefined. In order to ensure that the GtkTreeSortable behaves as expected, the GtkTreeIterCompareFunc must define a partial order on the model, i.e. it must be reflexive, antisymmetric and transitive. For example, if @model is a product catalogue, then a compare function for the “price” column could be one which returns price_of(@a) - price_of(@b).

Members

Methods

class: GtkWidgetActionActivateFuncCallback

[3422:7] extends: object

The type of the callback functions used for activating actions installed with [method@Gtk.WidgetClass.install_action]. The @parameter must match the @parameter_type of the action.

Members

Methods

class: GtkTreeViewColumnDropFuncCallback

[3129:7] extends: object

Function type for determining whether @column can be dropped in a particular spot (as determined by @prev_column and @next_column). In left to right locales, @prev_column is on the left of the potential drop spot, and @next_column is on the right. In right to left mode, this is reversed. This function should return %TRUE if the spot is a valid drop spot. Please note that returning %TRUE does not actually indicate that the column drop was made, but is meant only to indicate a possible drop spot to the user.

Members

Methods

class: GtkShortcutFuncCallback

[2135:7] extends: object

Type for shortcuts based on user callbacks.

Members

Methods

class: GtkCellLayoutDataFuncCallback

[230:7] extends: object

A function which should set the value of @cell_layout’s cell renderer(s) as appropriate.

Members

Methods

class: GtkExpressionNotifyCallback

[761:7] extends: object

Callback called by gtk_expression_watch() when the expression value changes.

Members

Methods

class: GtkListBoxSortFuncCallback

[1483:7] extends: object

Compare two rows to determine which should be first.

Members

Methods

class: GtkTreeListModelCreateModelFuncCallback

[2674:7] extends: object

Prototype of the function called to create new child models when gtk_tree_list_row_set_expanded() is called. This function can return %NULL to indicate that @item is guaranteed to be a leaf node and will never have children. If it does not have children but may get children later, it should return an empty model that is filled once children arrive.

Members

Methods

class: GtkTreeModelFilterModifyFuncCallback

[2751:7] extends: object

A function which calculates display values from raw values in the model. It must fill @value with the display value for the column @column in the row indicated by @iter. Since this function is called for each data access, it’s not a particularly efficient operation.

Members

Methods

class: GtkScaleFormatValueFuncCallback

[2065:7] extends: object

Function that formats the value of a scale. See [method@Gtk.Scale.set_format_value_func].

Members

Methods