Type Aliases
The following type aliases are available globally.
-
CSS Provider reference
Declaration
Swift
public typealias CSSProviderRef = CssProvider
-
CSS Provider class
Declaration
Swift
public typealias CSSProvider = CssProvider
-
A
GtkAllocation-struct
of a widget represents region which has been allocated to the widget by its parent. It is a subregion of its parents allocation. See GtkWidget’s geometry management section for more information.Declaration
Swift
public typealias Allocation = GtkAllocation
-
Undocumented
Declaration
Swift
public typealias Stock = GtkStock
-
Undocumented
Declaration
Swift
public typealias AccelGroupActivate = GtkAccelGroupActivate
-
Undocumented
Declaration
Swift
public typealias AccelGroupFindFunc = GtkAccelGroupFindFunc
-
Undocumented
Declaration
Swift
public typealias AccelMapForeach = GtkAccelMapForeach
-
A function used by
gtk_assistant_set_forward_page_func()
to know which is the next page given a current one. 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.Declaration
Swift
public typealias AssistantPageFunc = GtkAssistantPageFunc
-
This is the signature of a function used to connect signals. It is used by the
gtk_builder_connect_signals()
andgtk_builder_connect_signals_full()
methods. It is mainly intended for interpreted language bindings, but could be useful where the programmer wants more control over the signal connection process. Note that this function can only be called once, subsequent calls will do nothing.Declaration
Swift
public typealias BuilderConnectFunc = GtkBuilderConnectFunc
-
This kind of functions provide Pango markup with detail information for the specified day. Examples for such details are holidays or appointments. The function returns
nil
when no information is available.Declaration
Swift
public typealias CalendarDetailFunc = GtkCalendarDetailFunc
-
The type of the callback functions used for e.g. iterating over the children of a container, see
gtk_container_foreach()
.Declaration
Swift
public typealias Callback = GtkCallback
-
The type of the callback functions used for iterating over the cell renderers and their allocated areas inside a
GtkCellArea
, seegtk_cell_area_foreach_alloc()
.Declaration
Swift
public typealias CellAllocCallback = GtkCellAllocCallback
-
The type of the callback functions used for iterating over the cell renderers of a
GtkCellArea
, seegtk_cell_area_foreach()
.Declaration
Swift
public typealias CellCallback = GtkCellCallback
-
A function which should set the value of
cell_layout
’s cellrenderer(s)
as appropriate.Declaration
Swift
public typealias CellLayoutDataFunc = GtkCellLayoutDataFunc
-
A function that will be called when the contents of the clipboard are changed or cleared. Once this has called, the
user_data_or_owner
argument will not be used again.Declaration
Swift
public typealias ClipboardClearFunc = GtkClipboardClearFunc
-
A function that will be called to provide the contents of the selection. If multiple types of data were advertised, the requested type can be determined from the
info
parameter or by checking the target field ofselection_data
. If the data could successfully be converted into then it should be stored into theselection_data
object by callinggtk_selection_data_set()
(or related functions such asgtk_selection_data_set_text()
). If no data is set, the requestor will be informed that the attempt to get the data failed.Declaration
Swift
public typealias ClipboardGetFunc = GtkClipboardGetFunc
-
A function to be called when the results of
gtk_clipboard_request_image()
are received, or when the request fails.Declaration
Swift
public typealias ClipboardImageReceivedFunc = GtkClipboardImageReceivedFunc
-
A function to be called when the results of
gtk_clipboard_request_contents()
are received, or when the request fails.Declaration
Swift
public typealias ClipboardReceivedFunc = GtkClipboardReceivedFunc
-
A function to be called when the results of
gtk_clipboard_request_rich_text()
are received, or when the request fails.Declaration
Swift
public typealias ClipboardRichTextReceivedFunc = GtkClipboardRichTextReceivedFunc
-
A function to be called when the results of
gtk_clipboard_request_targets()
are received, or when the request fails.Declaration
Swift
public typealias ClipboardTargetsReceivedFunc = GtkClipboardTargetsReceivedFunc
-
A function to be called when the results of
gtk_clipboard_request_text()
are received, or when the request fails.Declaration
Swift
public typealias ClipboardTextReceivedFunc = GtkClipboardTextReceivedFunc
-
A function to be called when the results of
gtk_clipboard_request_uris()
are received, or when the request fails.Declaration
Swift
public typealias ClipboardURIReceivedFunc = GtkClipboardURIReceivedFunc
-
ColorSelectionChangePaletteFunc is deprecated: This method is deprecated.
Declaration
Swift
public typealias ColorSelectionChangePaletteFunc = GtkColorSelectionChangePaletteFunc
-
ColorSelectionChangePaletteWithScreenFunc is deprecated: This method is deprecated.
Declaration
Swift
public typealias ColorSelectionChangePaletteWithScreenFunc = GtkColorSelectionChangePaletteWithScreenFunc
-
A function which decides whether the row indicated by
iter
matches a givenkey
, and should be displayed as a possible completion forkey
. Note thatkey
is normalized and case-folded (seeg_utf8_normalize()
andg_utf8_casefold()
). If this is not appropriate, match functions have access to the unmodified key viagtk_entry_get_text (GTK_ENTRY (gtk_entry_completion_get_entry ()))
.Declaration
Swift
public typealias EntryCompletionMatchFunc = GtkEntryCompletionMatchFunc
-
The type of function that is used with custom filters, see
gtk_file_filter_add_custom()
.Declaration
Swift
public typealias FileFilterFunc = GtkFileFilterFunc
-
Called for flow boxes that are bound to a
GListModel
withgtk_flow_box_bind_model()
for each item that gets added to the model.Declaration
Swift
public typealias FlowBoxCreateWidgetFunc = GtkFlowBoxCreateWidgetFunc
-
A function that will be called whenrever a child changes or is added. It lets you control if the child should be visible or not.
Declaration
Swift
public typealias FlowBoxFilterFunc = GtkFlowBoxFilterFunc
-
A function used by
gtk_flow_box_selected_foreach()
. It will be called on every selected child of thebox
.Declaration
Swift
public typealias FlowBoxForeachFunc = GtkFlowBoxForeachFunc
-
A function to compare two children to determine which should come first.
Declaration
Swift
public typealias FlowBoxSortFunc = GtkFlowBoxSortFunc
-
The type of function that is used for deciding what fonts get shown in a
GtkFontChooser
. Seegtk_font_chooser_set_filter_func()
.Declaration
Swift
public typealias FontFilterFunc = GtkFontFilterFunc
-
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.Declaration
Swift
public typealias IconViewForeachFunc = GtkIconViewForeachFunc
-
Key snooper functions are called before normal event delivery. They can be used to implement custom key event handling.
Declaration
Swift
public typealias KeySnoopFunc = GtkKeySnoopFunc
-
Called for list boxes that are bound to a
GListModel
withgtk_list_box_bind_model()
for each item that gets added to the model.Versions of GTK+ prior to 3.18 called
gtk_widget_show_all()
on the rows created by the GtkListBoxCreateWidgetFunc, but this forced all widgets inside the row to be shown, and is no longer the case. Applications should be updated to show the desired row widgets.Declaration
Swift
public typealias ListBoxCreateWidgetFunc = GtkListBoxCreateWidgetFunc
-
Will be called whenever the row changes or is added and lets you control if the row should be visible or not.
Declaration
Swift
public typealias ListBoxFilterFunc = GtkListBoxFilterFunc
-
A function used by
gtk_list_box_selected_foreach()
. It will be called on every selected child of thebox
.Declaration
Swift
public typealias ListBoxForeachFunc = GtkListBoxForeachFunc
-
Compare two rows to determine which should be first.
Declaration
Swift
public typealias ListBoxSortFunc = GtkListBoxSortFunc
-
Whenever
row
changes or which row is beforerow
changes this is called, which lets you update the header onrow
. You may remove or set a new one viagtk_list_box_row_set_header()
or just change the state of the current header widget.Declaration
Swift
public typealias ListBoxUpdateHeaderFunc = GtkListBoxUpdateHeaderFunc
-
A user function supplied when calling
gtk_menu_attach_to_widget()
which will be called when the menu is later detached from the widget.Declaration
Swift
public typealias MenuDetachFunc = GtkMenuDetachFunc
-
A user function supplied when calling
gtk_menu_popup()
which controls the positioning of the menu when it is displayed. The function sets thex
andy
parameters to the coordinates where the menu is to be drawn. To make the menu appear on a different monitor than the mouse pointer,gtk_menu_set_monitor()
must be called.Declaration
Swift
public typealias MenuPositionFunc = GtkMenuPositionFunc
-
A multihead-aware GTK+ module may have a
gtk_module_display_init()
function with this prototype. GTK+ calls this function for each opened display.Declaration
Swift
public typealias ModuleDisplayInitFunc = GtkModuleDisplayInitFunc
-
Each GTK+ module must have a function
gtk_module_init()
with this prototype. This function is called after loading the module.Declaration
Swift
public typealias ModuleInitFunc = GtkModuleInitFunc
-
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
.Declaration
Swift
public typealias PageSetupDoneFunc = GtkPageSetupDoneFunc
-
Undocumented
Declaration
Swift
public typealias PrintSettingsFunc = GtkPrintSettingsFunc
-
Undocumented
Declaration
Swift
public typealias RcPropertyParser = GtkRcPropertyParser
-
The type of function that is used with custom filters, see
gtk_recent_filter_add_custom()
.Declaration
Swift
public typealias RecentFilterFunc = GtkRecentFilterFunc
-
Undocumented
Declaration
Swift
public typealias RecentSortFunc = GtkRecentSortFunc
-
Undocumented
Declaration
Swift
public typealias StylePropertyParser = GtkStylePropertyParser
-
A function that is called to deserialize rich text that has been serialized with
gtk_text_buffer_serialize()
, and insert it atiter
.Declaration
Swift
public typealias TextBufferDeserializeFunc = GtkTextBufferDeserializeFunc
-
A function that is called to serialize the content of a text buffer. It must return the serialized form of the content.
Declaration
Swift
public typealias TextBufferSerializeFunc = GtkTextBufferSerializeFunc
-
Undocumented
Declaration
Swift
public typealias TextCharPredicate = GtkTextCharPredicate
-
Undocumented
Declaration
Swift
public typealias TextTagTableForeach = GtkTextTagTableForeach
-
Callback type for adding a function to update animations. See
gtk_widget_add_tick_callback()
.Declaration
Swift
public typealias TickCallback = GtkTickCallback
-
The function used to translate messages in e.g.
GtkIconFactory
andGtkActionGroup
.TranslateFunc is deprecated: This method is deprecated.
Declaration
Swift
public typealias TranslateFunc = GtkTranslateFunc
-
A function to set the properties of a cell instead of just using the straight mapping between the cell and the model. This 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. This is set by callinggtk_tree_view_column_set_cell_data_func()
Declaration
Swift
public typealias TreeCellDataFunc = GtkTreeCellDataFunc
-
Undocumented
Declaration
Swift
public typealias TreeDestroyCountFunc = GtkTreeDestroyCountFunc
-
A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive integer if
a
sorts beforeb
,a
sorts withb
, ora
sorts afterb
respectively. If two iters compare as equal, their order in the sorted model is undefined. In order to ensure that theGtkTreeSortable
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 returnsprice_of(@a)` - `price_of(@b)
.Declaration
Swift
public typealias TreeIterCompareFunc = GtkTreeIterCompareFunc
-
A function which calculates display values from raw values in the model. It must fill
value
with the display value for the columncolumn
in the row indicated byiter
.Since this function is called for each data access, it’s not a particularly efficient operation.
Declaration
Swift
public typealias TreeModelFilterModifyFunc = GtkTreeModelFilterModifyFunc
-
A function which decides whether the row indicated by
iter
is visible.Declaration
Swift
public typealias TreeModelFilterVisibleFunc = GtkTreeModelFilterVisibleFunc
-
Type of the callback passed to
gtk_tree_model_foreach()
to iterate over the rows in a tree model.Declaration
Swift
public typealias TreeModelForeachFunc = GtkTreeModelForeachFunc
-
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.Declaration
Swift
public typealias TreeSelectionForeachFunc = GtkTreeSelectionForeachFunc
-
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 oftrue
indicates toselection
that it is okay to change the selection.Declaration
Swift
public typealias TreeSelectionFunc = GtkTreeSelectionFunc
-
Function type for determining whether
column
can be dropped in a particular spot (as determined byprev_column
andnext_column
). In left to right locales,prev_column
is on the left of the potential drop spot, andnext_column
is on the right. In right to left mode, this is reversed. This function should returntrue
if the spot is a valid drop spot. Please note that returningtrue
does not actually indicate that the column drop was made, but is meant only to indicate a possible drop spot to the user.Declaration
Swift
public typealias TreeViewColumnDropFunc = GtkTreeViewColumnDropFunc
-
Function used for
gtk_tree_view_map_expanded_rows()
.Declaration
Swift
public typealias TreeViewMappingFunc = GtkTreeViewMappingFunc
-
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 theGtkTreeViewRowSeparatorFunc
returns.Declaration
Swift
public typealias TreeViewRowSeparatorFunc = GtkTreeViewRowSeparatorFunc
-
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 tostrcmp()
returning 0 for equal strings.Declaration
Swift
public typealias TreeViewSearchEqualFunc = GtkTreeViewSearchEqualFunc
-
Undocumented
Declaration
Swift
public typealias TreeViewSearchPositionFunc = GtkTreeViewSearchPositionFunc
-
Controls how a widget deals with extra space in a single (x or y) dimension.
Alignment only matters if the widget receives a “too large” allocation, for example if you packed the widget with the
GtkWidget:expand
flag inside aGtkBox
, then the widget might get extra space. If you have for example a 16x16 icon inside a 32x32 space, the icon could be scaled and stretched, it could be centered, or it could be positioned to one side of the space.Note that in horizontal context
GTK_ALIGN_START
andGTK_ALIGN_END
are interpreted relative to text direction.GTK_ALIGN_BASELINE support for it is optional for containers and widgets, and it is only supported for vertical alignment. When its not supported by a child or a container it is treated as
GTK_ALIGN_FILL
.Declaration
Swift
public typealias Align = GtkAlign
-
Used to specify the placement of scroll arrows in scrolling menus.
Declaration
Swift
public typealias ArrowPlacement = GtkArrowPlacement
-
Used to indicate the direction in which an arrow should point.
Declaration
Swift
public typealias ArrowType = GtkArrowType
-
An enum for determining the page role inside the
GtkAssistant
. It’s used to handle buttons sensitivity and visibility.Note that an assistant needs to end its page flow with a page of type
GTK_ASSISTANT_PAGE_CONFIRM
,GTK_ASSISTANT_PAGE_SUMMARY
orGTK_ASSISTANT_PAGE_PROGRESS
to be correct.The Cancel button will only be shown if the page isn’t “committed”. See
gtk_assistant_commit()
for details.Declaration
Swift
public typealias AssistantPageType = GtkAssistantPageType
-
Whenever a container has some form of natural row it may align children in that row along a common typographical baseline. If the amount of verical space in the row is taller than the total requested height of the baseline-aligned children then it can use a
GtkBaselinePosition
to select where to put the baseline inside the extra availible space.Declaration
Swift
public typealias BaselinePosition = GtkBaselinePosition
-
Describes how the border of a UI element should be rendered.
Declaration
Swift
public typealias BorderStyle = GtkBorderStyle
-
Error codes that identify various errors that can occur while using
GtkBuilder
.Declaration
Swift
public typealias BuilderError = GtkBuilderError
-
Used to dictate the style that a
GtkButtonBox
uses to layout the buttons it contains.Declaration
Swift
public typealias ButtonBoxStyle = GtkButtonBoxStyle
-
The role specifies the desired appearance of a
GtkModelButton
.Declaration
Swift
public typealias ButtonRole = GtkButtonRole
-
Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use
GTK_BUTTONS_NONE
then callgtk_dialog_add_buttons()
.> Please note that
GTK_BUTTONS_OK
,GTK_BUTTONS_YES_NO
> andGTK_BUTTONS_OK_CANCEL
are discouraged by the > GNOME Human Interface Guidelines.Declaration
Swift
public typealias ButtonsType = GtkButtonsType
-
Determines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus.
Declaration
Swift
public typealias CellRendererAccelMode = GtkCellRendererAccelMode
-
Identifies how the user can interact with a particular cell.
Declaration
Swift
public typealias CellRendererMode = GtkCellRendererMode
-
Specifies which corner a child widget should be placed in when packed into a
GtkScrolledWindow
. This is effectively the opposite of where the scroll bars are placed.Declaration
Swift
public typealias CornerType = GtkCornerType
-
Error codes for
GTK_CSS_PROVIDER_ERROR
.Declaration
Swift
public typealias CssProviderError = GtkCssProviderError
-
The different types of sections indicate parts of a CSS document as parsed by GTK’s CSS parser. They are oriented towards the CSS Grammar, but may contain extensions.
More types might be added in the future as the parser incorporates more features.
Declaration
Swift
public typealias CssSectionType = GtkCssSectionType
-
See also:
GtkEntry::delete-from-cursor
.Declaration
Swift
public typealias DeleteType = GtkDeleteType
-
Focus movement types.
Declaration
Swift
public typealias DirectionType = GtkDirectionType
-
Gives an indication why a drag operation failed. The value can by obtained by connecting to the
GtkWidget::drag-failed
signal.Declaration
Swift
public typealias DragResult = GtkDragResult
-
Specifies the side of the entry at which an icon is placed.
Declaration
Swift
public typealias EntryIconPosition = GtkEntryIconPosition
-
Describes the state of a
GdkEventSequence
in aGtkGesture
.Declaration
Swift
public typealias EventSequenceState = GtkEventSequenceState
-
Used to specify the style of the expanders drawn by a
GtkTreeView
.Declaration
Swift
public typealias ExpanderStyle = GtkExpanderStyle
-
Describes whether a
GtkFileChooser
is being used to open existing files or to save to a possibly new file.Declaration
Swift
public typealias FileChooserAction = GtkFileChooserAction
-
Used as a return value of handlers for the
GtkFileChooser::confirm-overwrite
signal of aGtkFileChooser
. This value determines whether the file chooser will present the stock confirmation dialog, accept the user’s choice of a filename, or let the user choose another filename.Declaration
Swift
public typealias FileChooserConfirmation = GtkFileChooserConfirmation
-
These identify the various errors that can occur while calling
GtkFileChooser
functions.Declaration
Swift
public typealias FileChooserError = GtkFileChooserError
-
Style for input method preedit. See also
GtkSettings:gtk-im-preedit-style
IMPreeditStyle is deprecated: This method is deprecated.
Declaration
Swift
public typealias IMPreeditStyle = GtkIMPreeditStyle
-
Style for input method status. See also
GtkSettings:gtk-im-status-style
IMStatusStyle is deprecated: This method is deprecated.
Declaration
Swift
public typealias IMStatusStyle = GtkIMStatusStyle
-
Built-in stock icon sizes.
Declaration
Swift
public typealias IconSize = GtkIconSize
-
Error codes for GtkIconTheme operations.
Declaration
Swift
public typealias IconThemeError = GtkIconThemeError
-
An enum for determining where a dropped item goes.
Declaration
Swift
public typealias IconViewDropPosition = GtkIconViewDropPosition
-
Describes the image data representation used by a
GtkImage
. If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if thegtk_image_get_storage_type()
returnsGTK_IMAGE_PIXBUF
, then you can callgtk_image_get_pixbuf()
but notgtk_image_get_stock()
. For empty images, you can request any storage type (call any of the “get” functions), but they will all returnnil
values.Declaration
Swift
public typealias ImageType = GtkImageType
-
Describes primary purpose of the input widget. This information is useful for on-screen keyboards and similar input methods to decide which keys should be presented to the user.
Note that the purpose is not meant to impose a totally strict rule about allowed characters, and does not replace input validation. It is fine for an on-screen keyboard to let the user override the character set restriction that is expressed by the purpose. The application is expected to validate the entry contents, even if it specified a purpose.
The difference between
GTK_INPUT_PURPOSE_DIGITS
andGTK_INPUT_PURPOSE_NUMBER
is that the former accepts only digits while the latter also some punctuation (like commas or points, plus, minus) and “e” or “E” as in 3.14E+000.This enumeration may be extended in the future; input methods should interpret unknown values as “free form”.
Declaration
Swift
public typealias InputPurpose = GtkInputPurpose
-
Used for justifying the text inside a
GtkLabel
widget. (See alsoGtkAlignment
).Declaration
Swift
public typealias Justification = GtkJustification
-
Describes how
GtkLevelBar
contents should be rendered. Note that this enumeration could be extended with additional modes in the future.Declaration
Swift
public typealias LevelBarMode = GtkLevelBarMode
-
The type of license for an application.
This enumeration can be expanded at later date.
Declaration
Swift
public typealias License = GtkLicense
-
An enumeration representing directional movements within a menu.
Declaration
Swift
public typealias MenuDirectionType = GtkMenuDirectionType
-
The type of message being displayed in the dialog.
Declaration
Swift
public typealias MessageType = GtkMessageType
-
Undocumented
Declaration
Swift
public typealias MovementStep = GtkMovementStep
-
Undocumented
Declaration
Swift
public typealias NotebookTab = GtkNotebookTab
-
Used to determine the layout of pages on a sheet when printing multiple pages per sheet.
Declaration
Swift
public typealias NumberUpLayout = GtkNumberUpLayout
-
Represents the orientation of widgets and other objects which can be switched between horizontal and vertical orientation on the fly, like
GtkToolbar
orGtkGesturePan
.Declaration
Swift
public typealias Orientation = GtkOrientation
-
Determines how widgets should be packed inside menubars and menuitems contained in menubars.
Declaration
Swift
public typealias PackDirection = GtkPackDirection
-
Represents the packing location
GtkBox
children. (See:GtkVBox
,GtkHBox
, andGtkButtonBox
).Declaration
Swift
public typealias PackType = GtkPackType
-
The type of a pad action.
Declaration
Swift
public typealias PadActionType = GtkPadActionType
-
See also
gtk_print_settings_set_orientation()
.Declaration
Swift
public typealias PageOrientation = GtkPageOrientation
-
See also
gtk_print_job_set_page_set()
.Declaration
Swift
public typealias PageSet = GtkPageSet
-
Describes the panning direction of a
GtkGesturePan
Declaration
Swift
public typealias PanDirection = GtkPanDirection
-
Priorities for path lookups. See also
gtk_binding_set_add_path()
.PathPriorityType is deprecated: This method is deprecated.
Declaration
Swift
public typealias PathPriorityType = GtkPathPriorityType
-
Widget path types. See also
gtk_binding_set_add_path()
.PathType is deprecated: This method is deprecated.
Declaration
Swift
public typealias PathType = GtkPathType
-
Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars.
Declaration
Swift
public typealias PolicyType = GtkPolicyType
-
Describes constraints to positioning of popovers. More values may be added to this enumeration in the future.
Declaration
Swift
public typealias PopoverConstraint = GtkPopoverConstraint
-
Describes which edge of a widget a certain feature is positioned at, e.g. the tabs of a
GtkNotebook
, the handle of aGtkHandleBox
or the label of aGtkScale
.Declaration
Swift
public typealias PositionType = GtkPositionType
-
See also
gtk_print_settings_set_duplex()
.Declaration
Swift
public typealias PrintDuplex = GtkPrintDuplex
-
Error codes that identify various errors that can occur while using the GTK+ printing support.
Declaration
Swift
public typealias PrintError = GtkPrintError
-
The
action
parameter togtk_print_operation_run()
determines what action the print operation should perform.Declaration
Swift
public typealias PrintOperationAction = GtkPrintOperationAction
-
A value of this type is returned by
gtk_print_operation_run()
.Declaration
Swift
public typealias PrintOperationResult = GtkPrintOperationResult
-
See also
gtk_print_job_set_pages()
Declaration
Swift
public typealias PrintPages = GtkPrintPages
-
See also
gtk_print_settings_set_quality()
.Declaration
Swift
public typealias PrintQuality = GtkPrintQuality
-
The status gives a rough indication of the completion of a running print operation.
Declaration
Swift
public typealias PrintStatus = GtkPrintStatus
-
Describes the stage at which events are fed into a
GtkEventController
.Declaration
Swift
public typealias PropagationPhase = GtkPropagationPhase
-
The
GtkRcTokenType
enumeration represents the tokens in the RC file. It is exposed so that theme engines can reuse these tokens when parsing the theme-engine specific portions of a RC file.RcTokenType is deprecated: Use #GtkCssProvider instead.
Declaration
Swift
public typealias RcTokenType = GtkRcTokenType
-
These identify the various errors that can occur while calling
GtkRecentChooser
functions.Declaration
Swift
public typealias RecentChooserError = GtkRecentChooserError
-
Error codes for
GtkRecentManager
operationsDeclaration
Swift
public typealias RecentManagerError = GtkRecentManagerError
-
Used to specify the sorting method to be applyed to the recently used resource list.
Declaration
Swift
public typealias RecentSortType = GtkRecentSortType
-
Indicated the relief to be drawn around a
GtkButton
.Declaration
Swift
public typealias ReliefStyle = GtkReliefStyle
-
Undocumented
Declaration
Swift
public typealias ResizeMode = GtkResizeMode
-
Predefined values for use as response ids in
gtk_dialog_add_button()
. All predefined values are negative; GTK+ leaves values of 0 or greater for application-defined response ids.Declaration
Swift
public typealias ResponseType = GtkResponseType
-
These enumeration values describe the possible transitions when the child of a
GtkRevealer
widget is shown or hidden.Declaration
Swift
public typealias RevealerTransitionType = GtkRevealerTransitionType
-
Undocumented
Declaration
Swift
public typealias ScrollStep = GtkScrollStep
-
Scrolling types.
Declaration
Swift
public typealias ScrollType = GtkScrollType
-
Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation.
Declaration
Swift
public typealias ScrollablePolicy = GtkScrollablePolicy
-
Used to control what selections users are allowed to make.
Declaration
Swift
public typealias SelectionMode = GtkSelectionMode
-
Determines how GTK+ handles the sensitivity of stepper arrows at the end of range widgets.
Declaration
Swift
public typealias SensitivityType = GtkSensitivityType
-
Used to change the appearance of an outline typically provided by a
GtkFrame
.Note that many themes do not differentiate the appearance of the various shadow types: Either their is no visible shadow (
GTK_SHADOW_NONE
), or there is (any other value).Declaration
Swift
public typealias ShadowType = GtkShadowType
-
GtkShortcutType specifies the kind of shortcut that is being described. More values may be added to this enumeration over time.
Declaration
Swift
public typealias ShortcutType = GtkShortcutType
-
The mode of the size group determines the directions in which the size group affects the requested sizes of its component widgets.
Declaration
Swift
public typealias SizeGroupMode = GtkSizeGroupMode
-
Specifies a preference for height-for-width or width-for-height geometry management.
Declaration
Swift
public typealias SizeRequestMode = GtkSizeRequestMode
-
Determines the direction of a sort.
Declaration
Swift
public typealias SortType = GtkSortType
-
The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment. See
gtk_spin_button_set_update_policy()
.Declaration
Swift
public typealias SpinButtonUpdatePolicy = GtkSpinButtonUpdatePolicy
-
The values of the GtkSpinType enumeration are used to specify the change to make in
gtk_spin_button_spin()
.Declaration
Swift
public typealias SpinType = GtkSpinType
-
These enumeration values describe the possible transitions between pages in a
GtkStack
widget.New values may be added to this enumeration over time.
Declaration
Swift
public typealias StackTransitionType = GtkStackTransitionType
-
This type indicates the current state of a widget; the state determines how the widget is drawn. The
GtkStateType
enumeration is also used to identify different colors in aGtkStyle
for drawing, so states can be used for subparts of a widget as well as entire widgets.StateType is deprecated: All APIs that are using this enumeration have been deprecated in favor of alternatives using #GtkStateFlags.
Declaration
Swift
public typealias StateType = GtkStateType
-
These values are used as “info” for the targets contained in the lists returned by
gtk_text_buffer_get_copy_target_list()
andgtk_text_buffer_get_paste_target_list()
.The values counts down from
-1
to avoid clashes with application added drag destinations which usually start at 0.Declaration
Swift
public typealias TextBufferTargetInfo = GtkTextBufferTargetInfo
-
Reading directions for text.
Declaration
Swift
public typealias TextDirection = GtkTextDirection
-
Granularity types that extend the text selection. Use the
GtkTextView::extend-selection
signal to customize the selection.Declaration
Swift
public typealias TextExtendSelection = GtkTextExtendSelection
-
Used to reference the layers of
GtkTextView
for the purpose of customized drawing with thedraw_layer
vfunc.Declaration
Swift
public typealias TextViewLayer = GtkTextViewLayer
-
Used to reference the parts of
GtkTextView
.Declaration
Swift
public typealias TextWindowType = GtkTextWindowType
-
Whether spacers are vertical lines or just blank.
ToolbarSpaceStyle is deprecated: This method is deprecated.
Declaration
Swift
public typealias ToolbarSpaceStyle = GtkToolbarSpaceStyle
-
Used to customize the appearance of a
GtkToolbar
. Note that setting the toolbar style overrides the user’s preferences for the default toolbar style. Note that if the button has only a label set and GTK_TOOLBAR_ICONS is used, the label will be visible, and vice versa.Declaration
Swift
public typealias ToolbarStyle = GtkToolbarStyle
-
The sizing method the column uses to determine its width. Please note that
GTK_TREE_VIEW_COLUMN_AUTOSIZE
are inefficient for large views, and can make columns appear choppy.Declaration
Swift
public typealias TreeViewColumnSizing = GtkTreeViewColumnSizing
-
An enum for determining where a dropped row goes.
Declaration
Swift
public typealias TreeViewDropPosition = GtkTreeViewDropPosition
-
Used to indicate which grid lines to draw in a tree view.
Declaration
Swift
public typealias TreeViewGridLines = GtkTreeViewGridLines
-
See also
gtk_print_settings_set_paper_width()
.Declaration
Swift
public typealias Unit = GtkUnit
-
Kinds of widget-specific help. Used by the
show-help
signal.Declaration
Swift
public typealias WidgetHelpType = GtkWidgetHelpType
-
Window placement can be influenced using this enumeration. Note that using
GTK_WIN_POS_CENTER_ALWAYS
is almost always a bad idea. It won’t necessarily work well with all window managers or on all windowing systems.Declaration
Swift
public typealias WindowPosition = GtkWindowPosition
-
A
GtkWindow
can be one of these types. Most things you’d consider a “window” should have typeGTK_WINDOW_TOPLEVEL
; windows with this type are managed by the window manager and have a frame by default (callgtk_window_set_decorated()
to toggle the frame). Windows with typeGTK_WINDOW_POPUP
are ignored by the window manager; window manager keybindings won’t work on them, the window manager won’t decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization).GTK_WINDOW_POPUP
is used to implement widgets such asGtkMenu
or tooltips that you normally don’t think of as windows per se. Nearly all windows should beGTK_WINDOW_TOPLEVEL
. In particular, do not useGTK_WINDOW_POPUP
just to turn off the window borders; usegtk_window_set_decorated()
for that.Declaration
Swift
public typealias WindowType = GtkWindowType
-
Describes a type of line wrapping.
Declaration
Swift
public typealias WrapMode = GtkWrapMode
-
Undocumented
Declaration
Swift
public typealias GtkArrowAccessiblePrivate = _GtkArrowAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkBooleanCellAccessiblePrivate = _GtkBooleanCellAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkButtonAccessiblePrivate = _GtkButtonAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkCellAccessibleParent = _GtkCellAccessibleParent
-
Undocumented
Declaration
Swift
public typealias GtkCellAccessiblePrivate = _GtkCellAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkCheckMenuItemAccessiblePrivate = _GtkCheckMenuItemAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkComboBoxAccessible = _GtkComboBoxAccessible
-
Undocumented
Declaration
Swift
public typealias GtkComboBoxAccessibleClass = _GtkComboBoxAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkComboBoxAccessiblePrivate = _GtkComboBoxAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkContainerAccessiblePrivate = _GtkContainerAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkContainerCellAccessible = _GtkContainerCellAccessible
-
Undocumented
Declaration
Swift
public typealias GtkContainerCellAccessibleClass = _GtkContainerCellAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkContainerCellAccessiblePrivate = _GtkContainerCellAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkEntryAccessible = _GtkEntryAccessible
-
Undocumented
Declaration
Swift
public typealias GtkEntryAccessibleClass = _GtkEntryAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkEntryAccessiblePrivate = _GtkEntryAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkEntryIconAccessible = _GtkEntryIconAccessible
-
Undocumented
Declaration
Swift
public typealias GtkExpanderAccessible = _GtkExpanderAccessible
-
Undocumented
Declaration
Swift
public typealias GtkExpanderAccessibleClass = _GtkExpanderAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkExpanderAccessiblePrivate = _GtkExpanderAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkFlowBoxAccessible = _GtkFlowBoxAccessible
-
Undocumented
Declaration
Swift
public typealias GtkFlowBoxAccessibleClass = _GtkFlowBoxAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkFlowBoxAccessiblePrivate = _GtkFlowBoxAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkFlowBoxChildAccessible = _GtkFlowBoxChildAccessible
-
Undocumented
Declaration
Swift
public typealias GtkFlowBoxChildAccessibleClass = _GtkFlowBoxChildAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkFrameAccessible = _GtkFrameAccessible
-
Undocumented
Declaration
Swift
public typealias GtkFrameAccessibleClass = _GtkFrameAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkFrameAccessiblePrivate = _GtkFrameAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkIconViewAccessible = _GtkIconViewAccessible
-
Undocumented
Declaration
Swift
public typealias GtkIconViewAccessibleClass = _GtkIconViewAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkIconViewAccessiblePrivate = _GtkIconViewAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkImageAccessible = _GtkImageAccessible
-
Undocumented
Declaration
Swift
public typealias GtkImageAccessibleClass = _GtkImageAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkImageAccessiblePrivate = _GtkImageAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkImageCellAccessible = _GtkImageCellAccessible
-
Undocumented
Declaration
Swift
public typealias GtkImageCellAccessibleClass = _GtkImageCellAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkImageCellAccessiblePrivate = _GtkImageCellAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkLabelAccessible = _GtkLabelAccessible
-
Undocumented
Declaration
Swift
public typealias GtkLabelAccessibleClass = _GtkLabelAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkLabelAccessiblePrivate = _GtkLabelAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkLevelBarAccessible = _GtkLevelBarAccessible
-
Undocumented
Declaration
Swift
public typealias GtkLevelBarAccessibleClass = _GtkLevelBarAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkLevelBarAccessiblePrivate = _GtkLevelBarAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkLinkButtonAccessible = _GtkLinkButtonAccessible
-
Undocumented
Declaration
Swift
public typealias GtkLinkButtonAccessibleClass = _GtkLinkButtonAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkLinkButtonAccessiblePrivate = _GtkLinkButtonAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkListBoxAccessible = _GtkListBoxAccessible
-
Undocumented
Declaration
Swift
public typealias GtkListBoxAccessibleClass = _GtkListBoxAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkListBoxAccessiblePrivate = _GtkListBoxAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkListBoxRowAccessible = _GtkListBoxRowAccessible
-
Undocumented
Declaration
Swift
public typealias GtkListBoxRowAccessibleClass = _GtkListBoxRowAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkLockButtonAccessible = _GtkLockButtonAccessible
-
Undocumented
Declaration
Swift
public typealias GtkLockButtonAccessibleClass = _GtkLockButtonAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkLockButtonAccessiblePrivate = _GtkLockButtonAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkMenuAccessible = _GtkMenuAccessible
-
Undocumented
Declaration
Swift
public typealias GtkMenuAccessibleClass = _GtkMenuAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkMenuAccessiblePrivate = _GtkMenuAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkMenuButtonAccessible = _GtkMenuButtonAccessible
-
Undocumented
Declaration
Swift
public typealias GtkMenuButtonAccessibleClass = _GtkMenuButtonAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkMenuButtonAccessiblePrivate = _GtkMenuButtonAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkMenuItemAccessiblePrivate = _GtkMenuItemAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkMenuShellAccessible = _GtkMenuShellAccessible
-
Undocumented
Declaration
Swift
public typealias GtkMenuShellAccessibleClass = _GtkMenuShellAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkMenuShellAccessiblePrivate = _GtkMenuShellAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkNotebookAccessible = _GtkNotebookAccessible
-
Undocumented
Declaration
Swift
public typealias GtkNotebookAccessibleClass = _GtkNotebookAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkNotebookAccessiblePrivate = _GtkNotebookAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkNotebookPageAccessible = _GtkNotebookPageAccessible
-
Undocumented
Declaration
Swift
public typealias GtkNotebookPageAccessibleClass = _GtkNotebookPageAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkNotebookPageAccessiblePrivate = _GtkNotebookPageAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkPanedAccessible = _GtkPanedAccessible
-
Undocumented
Declaration
Swift
public typealias GtkPanedAccessibleClass = _GtkPanedAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkPanedAccessiblePrivate = _GtkPanedAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkPopoverAccessible = _GtkPopoverAccessible
-
Undocumented
Declaration
Swift
public typealias GtkPopoverAccessibleClass = _GtkPopoverAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkProgressBarAccessible = _GtkProgressBarAccessible
-
Undocumented
Declaration
Swift
public typealias GtkProgressBarAccessibleClass = _GtkProgressBarAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkProgressBarAccessiblePrivate = _GtkProgressBarAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkRadioButtonAccessible = _GtkRadioButtonAccessible
-
Undocumented
Declaration
Swift
public typealias GtkRadioButtonAccessibleClass = _GtkRadioButtonAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkRadioButtonAccessiblePrivate = _GtkRadioButtonAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkRadioMenuItemAccessible = _GtkRadioMenuItemAccessible
-
Undocumented
Declaration
Swift
public typealias GtkRadioMenuItemAccessibleClass = _GtkRadioMenuItemAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkRadioMenuItemAccessiblePrivate = _GtkRadioMenuItemAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkRangeAccessible = _GtkRangeAccessible
-
Undocumented
Declaration
Swift
public typealias GtkRangeAccessibleClass = _GtkRangeAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkRangeAccessiblePrivate = _GtkRangeAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkRendererCellAccessiblePrivate = _GtkRendererCellAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkScaleAccessible = _GtkScaleAccessible
-
Undocumented
Declaration
Swift
public typealias GtkScaleAccessibleClass = _GtkScaleAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkScaleAccessiblePrivate = _GtkScaleAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkScaleButtonAccessible = _GtkScaleButtonAccessible
-
Undocumented
Declaration
Swift
public typealias GtkScaleButtonAccessibleClass = _GtkScaleButtonAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkScaleButtonAccessiblePrivate = _GtkScaleButtonAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkScrolledWindowAccessible = _GtkScrolledWindowAccessible
-
Undocumented
Declaration
Swift
public typealias GtkScrolledWindowAccessibleClass = _GtkScrolledWindowAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkScrolledWindowAccessiblePrivate = _GtkScrolledWindowAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkSpinButtonAccessible = _GtkSpinButtonAccessible
-
Undocumented
Declaration
Swift
public typealias GtkSpinButtonAccessibleClass = _GtkSpinButtonAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkSpinButtonAccessiblePrivate = _GtkSpinButtonAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkSpinnerAccessible = _GtkSpinnerAccessible
-
Undocumented
Declaration
Swift
public typealias GtkSpinnerAccessibleClass = _GtkSpinnerAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkSpinnerAccessiblePrivate = _GtkSpinnerAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkStatusbarAccessible = _GtkStatusbarAccessible
-
Undocumented
Declaration
Swift
public typealias GtkStatusbarAccessibleClass = _GtkStatusbarAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkStatusbarAccessiblePrivate = _GtkStatusbarAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkSwitchAccessible = _GtkSwitchAccessible
-
Undocumented
Declaration
Swift
public typealias GtkSwitchAccessibleClass = _GtkSwitchAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkSwitchAccessiblePrivate = _GtkSwitchAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkTextCellAccessible = _GtkTextCellAccessible
-
Undocumented
Declaration
Swift
public typealias GtkTextCellAccessibleClass = _GtkTextCellAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkTextCellAccessiblePrivate = _GtkTextCellAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkTextViewAccessible = _GtkTextViewAccessible
-
Undocumented
Declaration
Swift
public typealias GtkTextViewAccessibleClass = _GtkTextViewAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkTextViewAccessiblePrivate = _GtkTextViewAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkThemingEnginePrivate = _GtkThemingEnginePrivate
-
Undocumented
Declaration
Swift
public typealias GtkToggleButtonAccessible = _GtkToggleButtonAccessible
-
Undocumented
Declaration
Swift
public typealias GtkToggleButtonAccessibleClass = _GtkToggleButtonAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkToggleButtonAccessiblePrivate = _GtkToggleButtonAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkToplevelAccessible = _GtkToplevelAccessible
-
Undocumented
Declaration
Swift
public typealias GtkToplevelAccessibleClass = _GtkToplevelAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkToplevelAccessiblePrivate = _GtkToplevelAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkTreeViewAccessible = _GtkTreeViewAccessible
-
Undocumented
Declaration
Swift
public typealias GtkTreeViewAccessibleClass = _GtkTreeViewAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkTreeViewAccessiblePrivate = _GtkTreeViewAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkWidgetAccessiblePrivate = _GtkWidgetAccessiblePrivate
-
Undocumented
Declaration
Swift
public typealias GtkWindowAccessible = _GtkWindowAccessible
-
Undocumented
Declaration
Swift
public typealias GtkWindowAccessibleClass = _GtkWindowAccessibleClass
-
Undocumented
Declaration
Swift
public typealias GtkWindowAccessiblePrivate = _GtkWindowAccessiblePrivate
-
A closure taking a reference to the current application as an argument
Declaration
Swift
public typealias ApplicationSignalHandler = (ApplicationRef) -> Void