EntryProtocol
public protocol EntryProtocol : CellEditableProtocol, EditableProtocol
The GtkEntry
widget is a single line text entry
widget. A fairly large set of key bindings are supported
by default. If the entered text is longer than the allocation
of the widget, the widget will scroll so that the cursor
position is visible.
When using an entry for passwords and other sensitive information,
it can be put into “password mode” using gtk_entry_set_visibility()
.
In this mode, entered text is displayed using a “invisible” character.
By default, GTK+ picks the best invisible character that is available
in the current font, but it can be changed with
gtk_entry_set_invisible_char()
. Since 2.16, GTK+ displays a warning
when Caps Lock or input methods might interfere with entering text in
a password entry. The warning can be turned off with the
GtkEntry:caps-lock-warning
property.
Since 2.16, GtkEntry has the ability to display progress or activity
information behind the text. To make an entry display such information,
use gtk_entry_set_progress_fraction()
or gtk_entry_set_progress_pulse_step()
.
Additionally, GtkEntry can show icons at either side of the entry. These
icons can be activatable by clicking, can be set up as drag source and
can have tooltips. To add an icon, use gtk_entry_set_icon_from_gicon()
or
one of the various other functions that set an icon from a stock id, an
icon name or a pixbuf. To trigger an action when the user clicks an icon,
connect to the GtkEntry::icon-press
signal. To allow DND operations
from an icon, use gtk_entry_set_icon_drag_source()
. To set a tooltip on
an icon, use gtk_entry_set_icon_tooltip_text()
or the corresponding function
for markup.
Note that functionality or information that is only available by clicking on an icon in an entry may not be accessible at all to users which are not able to use a mouse or other pointing device. It is therefore recommended that any such functionality should also be available by other means, e.g. via the context menu of the entry.
CSS nodes
(plain Language Example):
entry[.read-only][.flat][.warning][.error]
├── image.left
├── image.right
├── undershoot.left
├── undershoot.right
├── [selection]
├── [progress[.pulse]]
╰── [window.popup]
GtkEntry has a main node with the name entry. Depending on the properties of the entry, the style classes .read-only and .flat may appear. The style classes .warning and .error may also be used with entries.
When the entry shows icons, it adds subnodes with the name image and the style class .left or .right, depending on where the icon appears.
When the entry has a selection, it adds a subnode with the name selection.
When the entry shows progress, it adds a subnode with the name progress. The node has the style class .pulse when the shown progress is pulsing.
The CSS node for a context menu is added as a subnode below entry as well.
The undershoot nodes are used to draw the underflow indication when content is scrolled out of view. These nodes get the .left and .right style classes added depending on where the indication is drawn.
When touch is used and touch selection handles are shown, they are using CSS nodes with name cursor-handle. They get the .top or .bottom style class depending on where they are shown in relation to the selection. If there is just a single handle for the text cursor, it gets the style class .insertion-cursor.
The EntryProtocol
protocol exposes the methods and properties of an underlying GtkEntry
instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see Entry
.
Alternatively, use EntryRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkEntry
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
entry_ptr
Default implementationTyped pointer to the underlying
GtkEntry
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkEntry
instance.Declaration
Swift
var entry_ptr: UnsafeMutablePointer<GtkEntry>! { get }
-
Required Initialiser for types conforming to
EntryProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
bind(property:
Extension methodto: _: flags: transformFrom: transformTo: ) Bind a
EntryPropertyName
source property to a given target object.Declaration
Swift
@discardableResult @inlinable func bind<Q, T>(property source_property: EntryPropertyName, to target: T, _ target_property: Q, flags f: BindingFlags = .default, transformFrom transform_from: @escaping GLibObject.ValueTransformer = { $0.transform(destValue: $1) }, transformTo transform_to: @escaping GLibObject.ValueTransformer = { $0.transform(destValue: $1) }) -> BindingRef! where Q : PropertyNameProtocol, T : ObjectProtocol
Parameters
source_property
the source property to bind
target
the target object to bind to
target_property
the target property to bind to
flags
the flags to pass to the
Binding
transform_from
ValueTransformer
to use for forward transformationtransform_to
ValueTransformer
to use for backwards transformationReturn Value
binding reference or
nil
in case of an error -
get(property:
Extension method) Get the value of a Entry property
Declaration
Swift
@inlinable func get(property: EntryPropertyName) -> GLibObject.Value
Parameters
property
the property to get the value for
Return Value
the value of the named property
-
set(property:
Extension methodvalue: ) Set the value of a Entry property. Note that this will only have an effect on properties that are writable and not construct-only!
Declaration
Swift
@inlinable func set(property: EntryPropertyName, value v: GLibObject.Value)
Parameters
property
the property to get the value for
Return Value
the value of the named property
-
connect(signal:
Extension methodflags: handler: ) Connect a Swift signal handler to the given, typed
EntrySignalName
signalDeclaration
Swift
@discardableResult @inlinable func connect(signal s: EntrySignalName, flags f: ConnectFlags = ConnectFlags(0), handler h: @escaping SignalHandler) -> Int
Parameters
signal
The signal to connect
flags
The connection flags to use
data
A pointer to user data to provide to the callback
destroyData
A
GClosureNotify
C function to destroy the data pointed to byuserData
handler
The Swift signal handler (function or callback) to invoke on the given signal
Return Value
The signal handler ID (always greater than 0 for successful connections)
-
connect(signal:
Extension methodflags: data: destroyData: signalHandler: ) Connect a C signal handler to the given, typed
EntrySignalName
signalDeclaration
Swift
@discardableResult @inlinable func connect(signal s: EntrySignalName, flags f: ConnectFlags = ConnectFlags(0), data userData: gpointer!, destroyData destructor: GClosureNotify? = nil, signalHandler h: @escaping GCallback) -> Int
Parameters
signal
The signal to connect
flags
The connection flags to use
data
A pointer to user data to provide to the callback
destroyData
A
GClosureNotify
C function to destroy the data pointed to byuserData
signalHandler
The C function to be called on the given signal
Return Value
The signal handler ID (always greater than 0 for successful connections)
-
onActivate(flags:
Extension methodhandler: ) The
activate
signal is emitted when the user hits the Enter key.While this signal is used as a keybinding signal, it is also commonly used by applications to intercept activation of entries.
The default bindings for this signal are all forms of the Enter key.
Note
This represents the underlyingactivate
signalDeclaration
Swift
@discardableResult @inlinable func onActivate(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
handler
The signal handler to call Run the given callback whenever the
activate
signal is emitted -
activateSignal
Extension methodTyped
activate
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var activateSignal: EntrySignalName { get }
-
onBackspace(flags:
Extension methodhandler: ) The
backspace
signal is a keybinding signal which gets emitted when the user asks for it.The default bindings for this signal are Backspace and Shift-Backspace.
Note
This represents the underlyingbackspace
signalDeclaration
Swift
@discardableResult @inlinable func onBackspace(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
handler
The signal handler to call Run the given callback whenever the
backspace
signal is emitted -
backspaceSignal
Extension methodTyped
backspace
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var backspaceSignal: EntrySignalName { get }
-
onCopyClipboard(flags:
Extension methodhandler: ) The
copy-clipboard
signal is a keybinding signal which gets emitted to copy the selection to the clipboard.The default bindings for this signal are Ctrl-c and Ctrl-Insert.
Note
This represents the underlyingcopy-clipboard
signalDeclaration
Swift
@discardableResult @inlinable func onCopyClipboard(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
handler
The signal handler to call Run the given callback whenever the
copyClipboard
signal is emitted -
copyClipboardSignal
Extension methodTyped
copy-clipboard
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var copyClipboardSignal: EntrySignalName { get }
-
onCutClipboard(flags:
Extension methodhandler: ) The
cut-clipboard
signal is a keybinding signal which gets emitted to cut the selection to the clipboard.The default bindings for this signal are Ctrl-x and Shift-Delete.
Note
This represents the underlyingcut-clipboard
signalDeclaration
Swift
@discardableResult @inlinable func onCutClipboard(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
handler
The signal handler to call Run the given callback whenever the
cutClipboard
signal is emitted -
cutClipboardSignal
Extension methodTyped
cut-clipboard
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var cutClipboardSignal: EntrySignalName { get }
-
onDeleteFromCursor(flags:
Extension methodhandler: ) The
delete-from-cursor
signal is a keybinding signal which gets emitted when the user initiates a text deletion.If the
type
isGTK_DELETE_CHARS
, GTK+ deletes the selection if there is one, otherwise it deletes the requested number of characters.The default bindings for this signal are Delete for deleting a character and Ctrl-Delete for deleting a word.
Note
This represents the underlyingdelete-from-cursor
signalDeclaration
Swift
@discardableResult @inlinable func onDeleteFromCursor(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ type: DeleteType, _ count: Int) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
type
the granularity of the deletion, as a
GtkDeleteType
count
the number of
type
units to deletehandler
The signal handler to call Run the given callback whenever the
deleteFromCursor
signal is emitted -
deleteFromCursorSignal
Extension methodTyped
delete-from-cursor
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var deleteFromCursorSignal: EntrySignalName { get }
-
onIconPress(flags:
Extension methodhandler: ) The
icon-press
signal is emitted when an activatable icon is clicked.Note
This represents the underlyingicon-press
signalDeclaration
Swift
@discardableResult @inlinable func onIconPress(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ iconPos: EntryIconPosition, _ event: Gdk.EventRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
iconPos
The position of the clicked icon
event
the button press event
handler
The signal handler to call Run the given callback whenever the
iconPress
signal is emitted -
iconPressSignal
Extension methodTyped
icon-press
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var iconPressSignal: EntrySignalName { get }
-
onIconRelease(flags:
Extension methodhandler: ) The
icon-release
signal is emitted on the button release from a mouse click over an activatable icon.Note
This represents the underlyingicon-release
signalDeclaration
Swift
@discardableResult @inlinable func onIconRelease(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ iconPos: EntryIconPosition, _ event: Gdk.EventRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
iconPos
The position of the clicked icon
event
the button release event
handler
The signal handler to call Run the given callback whenever the
iconRelease
signal is emitted -
iconReleaseSignal
Extension methodTyped
icon-release
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var iconReleaseSignal: EntrySignalName { get }
-
onInsertAtCursor(flags:
Extension methodhandler: ) The
insert-at-cursor
signal is a keybinding signal which gets emitted when the user initiates the insertion of a fixed string at the cursor.This signal has no default bindings.
Note
This represents the underlyinginsert-at-cursor
signalDeclaration
Swift
@discardableResult @inlinable func onInsertAtCursor(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ string: String) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
string
the string to insert
handler
The signal handler to call Run the given callback whenever the
insertAtCursor
signal is emitted -
insertAtCursorSignal
Extension methodTyped
insert-at-cursor
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var insertAtCursorSignal: EntrySignalName { get }
-
onInsertEmoji(flags:
Extension methodhandler: ) The
insert-emoji
signal is a keybinding signal which gets emitted to present the Emoji chooser for theentry
.The default bindings for this signal are Ctrl-. and Ctrl-;
Note
This represents the underlyinginsert-emoji
signalDeclaration
Swift
@discardableResult @inlinable func onInsertEmoji(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
handler
The signal handler to call Run the given callback whenever the
insertEmoji
signal is emitted -
insertEmojiSignal
Extension methodTyped
insert-emoji
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var insertEmojiSignal: EntrySignalName { get }
-
onMoveCursor(flags:
Extension methodhandler: ) The
move-cursor
signal is a keybinding signal which gets emitted when the user initiates a cursor movement. If the cursor is not visible inentry
, this signal causes the viewport to be moved instead.Applications should not connect to it, but may emit it with
g_signal_emit_by_name()
if they need to control the cursor programmatically.The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifer does not. There are too many key combinations to list them all here.
- Arrow keys move by individual characters/lines
- Ctrl-arrow key combinations move by words/paragraphs
- Home/End keys move to the ends of the buffer
Note
This represents the underlyingmove-cursor
signalDeclaration
Swift
@discardableResult @inlinable func onMoveCursor(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ step: MovementStep, _ count: Int, _ extendSelection: Bool) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
step
the granularity of the move, as a
GtkMovementStep
count
the number of
step
units to moveextendSelection
true
if the move should extend the selectionhandler
The signal handler to call Run the given callback whenever the
moveCursor
signal is emitted -
moveCursorSignal
Extension methodTyped
move-cursor
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var moveCursorSignal: EntrySignalName { get }
-
onPasteClipboard(flags:
Extension methodhandler: ) The
paste-clipboard
signal is a keybinding signal which gets emitted to paste the contents of the clipboard into the text view.The default bindings for this signal are Ctrl-v and Shift-Insert.
Note
This represents the underlyingpaste-clipboard
signalDeclaration
Swift
@discardableResult @inlinable func onPasteClipboard(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
handler
The signal handler to call Run the given callback whenever the
pasteClipboard
signal is emitted -
pasteClipboardSignal
Extension methodTyped
paste-clipboard
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var pasteClipboardSignal: EntrySignalName { get }
-
onPopulatePopup(flags:
Extension methodhandler: ) The
populate-popup
signal gets emitted before showing the context menu of the entry.If you need to add items to the context menu, connect to this signal and append your items to the
widget
, which will be aGtkMenu
in this case.If
GtkEntry:populate-all
istrue
, this signal will also be emitted to populate touch popups. In this case,widget
will be a different container, e.g. aGtkToolbar
. The signal handler should not make assumptions about the type ofwidget
.Note
This represents the underlyingpopulate-popup
signalDeclaration
Parameters
flags
Flags
unownedSelf
Reference to instance of self
widget
the container that is being populated
handler
The signal handler to call Run the given callback whenever the
populatePopup
signal is emitted -
populatePopupSignal
Extension methodTyped
populate-popup
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var populatePopupSignal: EntrySignalName { get }
-
onPreeditChanged(flags:
Extension methodhandler: ) If an input method is used, the typed text will not immediately be committed to the buffer. So if you are interested in the text, connect to this signal.
Note
This represents the underlyingpreedit-changed
signalDeclaration
Swift
@discardableResult @inlinable func onPreeditChanged(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ preedit: String) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
preedit
the current preedit string
handler
The signal handler to call Run the given callback whenever the
preeditChanged
signal is emitted -
preeditChangedSignal
Extension methodTyped
preedit-changed
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var preeditChangedSignal: EntrySignalName { get }
-
onToggleOverwrite(flags:
Extension methodhandler: ) The
toggle-overwrite
signal is a keybinding signal which gets emitted to toggle the overwrite mode of the entry.The default bindings for this signal is Insert.
Note
This represents the underlyingtoggle-overwrite
signalDeclaration
Swift
@discardableResult @inlinable func onToggleOverwrite(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
handler
The signal handler to call Run the given callback whenever the
toggleOverwrite
signal is emitted -
toggleOverwriteSignal
Extension methodTyped
toggle-overwrite
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var toggleOverwriteSignal: EntrySignalName { get }
-
onNotifyActivatesDefault(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::activates-default
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyActivatesDefault(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyActivatesDefault
signal is emitted -
notifyActivatesDefaultSignal
Extension methodTyped
notify::activates-default
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyActivatesDefaultSignal: EntrySignalName { get }
-
onNotifyAttributes(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::attributes
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyAttributes(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyAttributes
signal is emitted -
notifyAttributesSignal
Extension methodTyped
notify::attributes
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyAttributesSignal: EntrySignalName { get }
-
onNotifyBuffer(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::buffer
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyBuffer(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyBuffer
signal is emitted -
notifyBufferSignal
Extension methodTyped
notify::buffer
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyBufferSignal: EntrySignalName { get }
-
onNotifyCapsLockWarning(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::caps-lock-warning
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyCapsLockWarning(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyCapsLockWarning
signal is emitted -
notifyCapsLockWarningSignal
Extension methodTyped
notify::caps-lock-warning
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyCapsLockWarningSignal: EntrySignalName { get }
-
onNotifyCompletion(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::completion
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyCompletion(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyCompletion
signal is emitted -
notifyCompletionSignal
Extension methodTyped
notify::completion
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyCompletionSignal: EntrySignalName { get }
-
onNotifyCursorPosition(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::cursor-position
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyCursorPosition(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyCursorPosition
signal is emitted -
notifyCursorPositionSignal
Extension methodTyped
notify::cursor-position
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyCursorPositionSignal: EntrySignalName { get }
-
onNotifyEditable(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::editable
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyEditable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyEditable
signal is emitted -
notifyEditableSignal
Extension methodTyped
notify::editable
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyEditableSignal: EntrySignalName { get }
-
onNotifyEnableEmojiCompletion(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::enable-emoji-completion
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyEnableEmojiCompletion(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyEnableEmojiCompletion
signal is emitted -
notifyEnableEmojiCompletionSignal
Extension methodTyped
notify::enable-emoji-completion
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyEnableEmojiCompletionSignal: EntrySignalName { get }
-
onNotifyHasFrame(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::has-frame
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyHasFrame(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyHasFrame
signal is emitted -
notifyHasFrameSignal
Extension methodTyped
notify::has-frame
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyHasFrameSignal: EntrySignalName { get }
-
onNotifyImModule(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::im-module
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyImModule(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyImModule
signal is emitted -
notifyImModuleSignal
Extension methodTyped
notify::im-module
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyImModuleSignal: EntrySignalName { get }
-
onNotifyInnerBorder(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::inner-border
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyInnerBorder(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyInnerBorder
signal is emitted -
notifyInnerBorderSignal
Extension methodTyped
notify::inner-border
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyInnerBorderSignal: EntrySignalName { get }
-
onNotifyInputHints(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::input-hints
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyInputHints(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyInputHints
signal is emitted -
notifyInputHintsSignal
Extension methodTyped
notify::input-hints
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyInputHintsSignal: EntrySignalName { get }
-
onNotifyInputPurpose(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::input-purpose
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyInputPurpose(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyInputPurpose
signal is emitted -
notifyInputPurposeSignal
Extension methodTyped
notify::input-purpose
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyInputPurposeSignal: EntrySignalName { get }
-
onNotifyInvisibleChar(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::invisible-char
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyInvisibleChar(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyInvisibleChar
signal is emitted -
notifyInvisibleCharSignal
Extension methodTyped
notify::invisible-char
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyInvisibleCharSignal: EntrySignalName { get }
-
onNotifyInvisibleCharSet(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::invisible-char-set
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyInvisibleCharSet(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyInvisibleCharSet
signal is emitted -
notifyInvisibleCharSetSignal
Extension methodTyped
notify::invisible-char-set
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyInvisibleCharSetSignal: EntrySignalName { get }
-
onNotifyMaxLength(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::max-length
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyMaxLength(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyMaxLength
signal is emitted -
notifyMaxLengthSignal
Extension methodTyped
notify::max-length
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyMaxLengthSignal: EntrySignalName { get }
-
onNotifyMaxWidthChars(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::max-width-chars
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyMaxWidthChars(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyMaxWidthChars
signal is emitted -
notifyMaxWidthCharsSignal
Extension methodTyped
notify::max-width-chars
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyMaxWidthCharsSignal: EntrySignalName { get }
-
onNotifyOverwriteMode(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::overwrite-mode
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyOverwriteMode(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyOverwriteMode
signal is emitted -
notifyOverwriteModeSignal
Extension methodTyped
notify::overwrite-mode
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyOverwriteModeSignal: EntrySignalName { get }
-
onNotifyPlaceholderText(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::placeholder-text
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPlaceholderText(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPlaceholderText
signal is emitted -
notifyPlaceholderTextSignal
Extension methodTyped
notify::placeholder-text
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPlaceholderTextSignal: EntrySignalName { get }
-
onNotifyPopulateAll(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::populate-all
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPopulateAll(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPopulateAll
signal is emitted -
notifyPopulateAllSignal
Extension methodTyped
notify::populate-all
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPopulateAllSignal: EntrySignalName { get }
-
onNotifyPrimaryIconActivatable(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-activatable
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconActivatable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconActivatable
signal is emitted -
notifyPrimaryIconActivatableSignal
Extension methodTyped
notify::primary-icon-activatable
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconActivatableSignal: EntrySignalName { get }
-
onNotifyPrimaryIconIcon(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-gicon
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconIcon(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconIcon
signal is emitted -
notifyPrimaryIconIconSignal
Extension methodTyped
notify::primary-icon-gicon
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconIconSignal: EntrySignalName { get }
-
onNotifyPrimaryIconName(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-name
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconName(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconName
signal is emitted -
notifyPrimaryIconNameSignal
Extension methodTyped
notify::primary-icon-name
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconNameSignal: EntrySignalName { get }
-
onNotifyPrimaryIconPixbuf(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-pixbuf
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconPixbuf(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconPixbuf
signal is emitted -
notifyPrimaryIconPixbufSignal
Extension methodTyped
notify::primary-icon-pixbuf
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconPixbufSignal: EntrySignalName { get }
-
onNotifyPrimaryIconSensitive(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-sensitive
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconSensitive(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconSensitive
signal is emitted -
notifyPrimaryIconSensitiveSignal
Extension methodTyped
notify::primary-icon-sensitive
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconSensitiveSignal: EntrySignalName { get }
-
onNotifyPrimaryIconStock(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-stock
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconStock(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconStock
signal is emitted -
notifyPrimaryIconStockSignal
Extension methodTyped
notify::primary-icon-stock
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconStockSignal: EntrySignalName { get }
-
onNotifyPrimaryIconStorageType(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-storage-type
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconStorageType(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconStorageType
signal is emitted -
notifyPrimaryIconStorageTypeSignal
Extension methodTyped
notify::primary-icon-storage-type
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconStorageTypeSignal: EntrySignalName { get }
-
onNotifyPrimaryIconTooltipMarkup(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-tooltip-markup
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconTooltipMarkup(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconTooltipMarkup
signal is emitted -
notifyPrimaryIconTooltipMarkupSignal
Extension methodTyped
notify::primary-icon-tooltip-markup
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconTooltipMarkupSignal: EntrySignalName { get }
-
onNotifyPrimaryIconTooltipText(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::primary-icon-tooltip-text
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyPrimaryIconTooltipText(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyPrimaryIconTooltipText
signal is emitted -
notifyPrimaryIconTooltipTextSignal
Extension methodTyped
notify::primary-icon-tooltip-text
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyPrimaryIconTooltipTextSignal: EntrySignalName { get }
-
onNotifyProgressFraction(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::progress-fraction
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyProgressFraction(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyProgressFraction
signal is emitted -
notifyProgressFractionSignal
Extension methodTyped
notify::progress-fraction
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyProgressFractionSignal: EntrySignalName { get }
-
onNotifyProgressPulseStep(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::progress-pulse-step
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyProgressPulseStep(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyProgressPulseStep
signal is emitted -
notifyProgressPulseStepSignal
Extension methodTyped
notify::progress-pulse-step
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyProgressPulseStepSignal: EntrySignalName { get }
-
onNotifyScrollOffset(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::scroll-offset
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyScrollOffset(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyScrollOffset
signal is emitted -
notifyScrollOffsetSignal
Extension methodTyped
notify::scroll-offset
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyScrollOffsetSignal: EntrySignalName { get }
-
onNotifySecondaryIconActivatable(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-activatable
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconActivatable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconActivatable
signal is emitted -
notifySecondaryIconActivatableSignal
Extension methodTyped
notify::secondary-icon-activatable
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconActivatableSignal: EntrySignalName { get }
-
onNotifySecondaryIconIcon(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-gicon
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconIcon(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconIcon
signal is emitted -
notifySecondaryIconIconSignal
Extension methodTyped
notify::secondary-icon-gicon
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconIconSignal: EntrySignalName { get }
-
onNotifySecondaryIconName(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-name
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconName(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconName
signal is emitted -
notifySecondaryIconNameSignal
Extension methodTyped
notify::secondary-icon-name
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconNameSignal: EntrySignalName { get }
-
onNotifySecondaryIconPixbuf(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-pixbuf
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconPixbuf(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconPixbuf
signal is emitted -
notifySecondaryIconPixbufSignal
Extension methodTyped
notify::secondary-icon-pixbuf
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconPixbufSignal: EntrySignalName { get }
-
onNotifySecondaryIconSensitive(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-sensitive
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconSensitive(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconSensitive
signal is emitted -
notifySecondaryIconSensitiveSignal
Extension methodTyped
notify::secondary-icon-sensitive
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconSensitiveSignal: EntrySignalName { get }
-
onNotifySecondaryIconStock(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-stock
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconStock(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconStock
signal is emitted -
notifySecondaryIconStockSignal
Extension methodTyped
notify::secondary-icon-stock
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconStockSignal: EntrySignalName { get }
-
onNotifySecondaryIconStorageType(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-storage-type
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconStorageType(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconStorageType
signal is emitted -
notifySecondaryIconStorageTypeSignal
Extension methodTyped
notify::secondary-icon-storage-type
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconStorageTypeSignal: EntrySignalName { get }
-
onNotifySecondaryIconTooltipMarkup(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-tooltip-markup
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconTooltipMarkup(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconTooltipMarkup
signal is emitted -
notifySecondaryIconTooltipMarkupSignal
Extension methodTyped
notify::secondary-icon-tooltip-markup
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconTooltipMarkupSignal: EntrySignalName { get }
-
onNotifySecondaryIconTooltipText(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::secondary-icon-tooltip-text
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySecondaryIconTooltipText(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySecondaryIconTooltipText
signal is emitted -
notifySecondaryIconTooltipTextSignal
Extension methodTyped
notify::secondary-icon-tooltip-text
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySecondaryIconTooltipTextSignal: EntrySignalName { get }
-
onNotifySelectionBound(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::selection-bound
signalDeclaration
Swift
@discardableResult @inlinable func onNotifySelectionBound(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifySelectionBound
signal is emitted -
notifySelectionBoundSignal
Extension methodTyped
notify::selection-bound
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifySelectionBoundSignal: EntrySignalName { get }
-
onNotifyShadowType(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::shadow-type
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyShadowType(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyShadowType
signal is emitted -
notifyShadowTypeSignal
Extension methodTyped
notify::shadow-type
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyShadowTypeSignal: EntrySignalName { get }
-
onNotifyShowEmojiIcon(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::show-emoji-icon
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyShowEmojiIcon(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyShowEmojiIcon
signal is emitted -
notifyShowEmojiIconSignal
Extension methodTyped
notify::show-emoji-icon
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyShowEmojiIconSignal: EntrySignalName { get }
-
onNotifyTabs(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::tabs
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyTabs(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyTabs
signal is emitted -
notifyTabsSignal
Extension methodTyped
notify::tabs
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyTabsSignal: EntrySignalName { get }
-
onNotifyText(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::text
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyText(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyText
signal is emitted -
notifyTextSignal
Extension methodTyped
notify::text
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyTextSignal: EntrySignalName { get }
-
onNotifyTextLength(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::text-length
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyTextLength(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyTextLength
signal is emitted -
notifyTextLengthSignal
Extension methodTyped
notify::text-length
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyTextLengthSignal: EntrySignalName { get }
-
onNotifyTruncateMultiline(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::truncate-multiline
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyTruncateMultiline(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyTruncateMultiline
signal is emitted -
notifyTruncateMultilineSignal
Extension methodTyped
notify::truncate-multiline
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyTruncateMultilineSignal: EntrySignalName { get }
-
onNotifyVisibility(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::visibility
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyVisibility(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyVisibility
signal is emitted -
notifyVisibilitySignal
Extension methodTyped
notify::visibility
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyVisibilitySignal: EntrySignalName { get }
-
onNotifyWidthChars(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::width-chars
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyWidthChars(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyWidthChars
signal is emitted -
notifyWidthCharsSignal
Extension methodTyped
notify::width-chars
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyWidthCharsSignal: EntrySignalName { get }
-
onNotifyXalign(flags:
Extension methodhandler: ) The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Note
This represents the underlyingnotify::xalign
signalDeclaration
Swift
@discardableResult @inlinable func onNotifyXalign(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: EntryRef, _ pspec: ParamSpecRef) -> Void) -> Int
Parameters
flags
Flags
unownedSelf
Reference to instance of self
pspec
the
GParamSpec
of the property which changed.handler
The signal handler to call Run the given callback whenever the
notifyXalign
signal is emitted -
notifyXalignSignal
Extension methodTyped
notify::xalign
signal for using theconnect(signal:)
methodsDeclaration
Swift
static var notifyXalignSignal: EntrySignalName { get }
-
getActivatesDefault()
Extension methodRetrieves the value set by
gtk_entry_set_activates_default()
.Declaration
Swift
@inlinable func getActivatesDefault() -> Bool
-
getAlignment()
Extension methodGets the value set by
gtk_entry_set_alignment()
.Declaration
Swift
@inlinable func getAlignment() -> Double
-
getAttributes()
Extension methodGets the attribute list that was set on the entry using
gtk_entry_set_attributes()
, if any.Declaration
Swift
@inlinable func getAttributes() -> Pango.AttrListRef!
-
getBuffer()
Extension methodGet the
GtkEntryBuffer
object which holds the text for this widget.Declaration
Swift
@inlinable func getBuffer() -> EntryBufferRef!
-
getCompletion()
Extension methodReturns the auxiliary completion object currently in use by
entry
.Declaration
Swift
@inlinable func getCompletion() -> EntryCompletionRef!
-
getCurrentIconDragSource()
Extension methodReturns the index of the icon which is the source of the current DND operation, or -1.
This function is meant to be used in a
GtkWidget::drag-data-get
callback.Declaration
Swift
@inlinable func getCurrentIconDragSource() -> Int
-
getCursorHadjustment()
Extension methodRetrieves the horizontal cursor adjustment for the entry. See
gtk_entry_set_cursor_hadjustment()
.Declaration
Swift
@inlinable func getCursorHadjustment() -> AdjustmentRef!
-
getHasFrame()
Extension methodGets the value set by
gtk_entry_set_has_frame()
.Declaration
Swift
@inlinable func getHasFrame() -> Bool
-
getIconActivatable(iconPos:
Extension method) Returns whether the icon is activatable.
Declaration
Swift
@inlinable func getIconActivatable(iconPos: GtkEntryIconPosition) -> Bool
-
getIconArea(iconPos:
Extension methodiconArea: ) Gets the area where entry’s icon at
icon_pos
is drawn. This function is useful when drawing something to the entry in a draw callback.If the entry is not realized or has no icon at the given position,
icon_area
is filled with zeros. Otherwise,icon_area
will be filled with the icon’s allocation, relative toentry
’s allocation.See also
gtk_entry_get_text_area()
Declaration
Swift
@inlinable func getIconArea<RectangleT>(iconPos: GtkEntryIconPosition, iconArea: RectangleT) where RectangleT : RectangleProtocol
-
getIconAtPos(x:
Extension methody: ) Finds the icon at the given position and return its index. The position’s coordinates are relative to the
entry
’s top left corner. Ifx
,y
doesn’t lie inside an icon, -1 is returned. This function is intended for use in aGtkWidget::query-tooltip
signal handler.Declaration
Swift
@inlinable func getIconAtPos(x: Int, y: Int) -> Int
-
getIconIcon(iconPos:
Extension method) Retrieves the
GIcon
used for the icon, ornil
if there is no icon or if the icon was set by some other method (e.g., by stock, pixbuf, or icon name).Declaration
Swift
@inlinable func getIconIcon(iconPos: GtkEntryIconPosition) -> GIO.IconRef!
-
getIconName(iconPos:
Extension method) Retrieves the icon name used for the icon, or
nil
if there is no icon or if the icon was set by some other method (e.g., by pixbuf, stock or gicon).Declaration
Swift
@inlinable func getIconName(iconPos: GtkEntryIconPosition) -> String!
-
getIconPixbuf(iconPos:
Extension method) Retrieves the image used for the icon.
Unlike the other methods of setting and getting icon data, this method will work regardless of whether the icon was set using a
GdkPixbuf
, aGIcon
, a stock item, or an icon name.Declaration
Swift
@inlinable func getIconPixbuf(iconPos: GtkEntryIconPosition) -> PixbufRef!
-
getIconSensitive(iconPos:
Extension method) Returns whether the icon appears sensitive or insensitive.
Declaration
Swift
@inlinable func getIconSensitive(iconPos: GtkEntryIconPosition) -> Bool
-
getIconStock(iconPos:
Extension method) Retrieves the stock id used for the icon, or
nil
if there is no icon or if the icon was set by some other method (e.g., by pixbuf, icon name or gicon).get_icon_stock is deprecated: Use gtk_entry_get_icon_name() instead.
Declaration
Swift
@available(*, deprecated) @inlinable func getIconStock(iconPos: GtkEntryIconPosition) -> String!
-
getIconStorageType(iconPos:
Extension method) Gets the type of representation being used by the icon to store image data. If the icon has no image data, the return value will be
GTK_IMAGE_EMPTY
.Declaration
Swift
@inlinable func getIconStorageType(iconPos: GtkEntryIconPosition) -> GtkImageType
-
getIconTooltipMarkup(iconPos:
Extension method) Gets the contents of the tooltip on the icon at the specified position in
entry
.Declaration
Swift
@inlinable func getIconTooltipMarkup(iconPos: GtkEntryIconPosition) -> String!
-
getIconTooltipText(iconPos:
Extension method) Gets the contents of the tooltip on the icon at the specified position in
entry
.Declaration
Swift
@inlinable func getIconTooltipText(iconPos: GtkEntryIconPosition) -> String!
-
getInnerBorder()
Extension methodThis function returns the entry’s
GtkEntry:inner-border
property. Seegtk_entry_set_inner_border()
for more information.get_inner_border is deprecated: Use the standard border and padding CSS properties (through objects like #GtkStyleContext and #GtkCssProvider); the value returned by this function is ignored by #GtkEntry.
Declaration
Swift
@available(*, deprecated) @inlinable func getInnerBorder() -> BorderRef!
-
getInputHints()
Extension methodGets the value of the
GtkEntry:input-hints
property.Declaration
Swift
@inlinable func getInputHints() -> InputHints
-
getInputPurpose()
Extension methodGets the value of the
GtkEntry:input-purpose
property.Declaration
Swift
@inlinable func getInputPurpose() -> GtkInputPurpose
-
getInvisibleChar()
Extension methodRetrieves the character displayed in place of the real characters for entries with visibility set to false. See
gtk_entry_set_invisible_char()
.Declaration
Swift
@inlinable func getInvisibleChar() -> gunichar
-
getLayout()
Extension methodGets the
PangoLayout
used to display the entry. The layout is useful to e.g. convert text positions to pixel positions, in combination withgtk_entry_get_layout_offsets()
. The returned layout is owned by the entry and must not be modified or freed by the caller.Keep in mind that the layout text may contain a preedit string, so
gtk_entry_layout_index_to_text_index()
andgtk_entry_text_index_to_layout_index()
are needed to convert byte indices in the layout to byte indices in the entry contents.Declaration
Swift
@inlinable func getLayout() -> Pango.LayoutRef!
-
getLayoutOffsets(x:
Extension methody: ) Obtains the position of the
PangoLayout
used to render text in the entry, in widget coordinates. Useful if you want to line up the text in an entry with some other text, e.g. when using the entry to implement editable cells in a sheet widget.Also useful to convert mouse events into coordinates inside the
PangoLayout
, e.g. to take some action if some part of the entry text is clicked.Note that as the user scrolls around in the entry the offsets will change; you’ll need to connect to the “notify
scroll-offset
” signal to track this. Remember when using thePangoLayout
functions you need to convert to and from pixels usingPANGO_PIXELS()
orPANGO_SCALE
.Keep in mind that the layout text may contain a preedit string, so
gtk_entry_layout_index_to_text_index()
andgtk_entry_text_index_to_layout_index()
are needed to convert byte indices in the layout to byte indices in the entry contents.Declaration
Swift
@inlinable func getLayoutOffsets(x: UnsafeMutablePointer<gint>! = nil, y: UnsafeMutablePointer<gint>! = nil)
-
getMaxLength()
Extension methodRetrieves the maximum allowed length of the text in
entry
. Seegtk_entry_set_max_length()
.This is equivalent to getting
entry
‘sGtkEntryBuffer
and callinggtk_entry_buffer_get_max_length()
on it.Declaration
Swift
@inlinable func getMaxLength() -> Int
-
getMaxWidthChars()
Extension methodRetrieves the desired maximum width of
entry
, in characters. Seegtk_entry_set_max_width_chars()
.Declaration
Swift
@inlinable func getMaxWidthChars() -> Int
-
getOverwriteMode()
Extension methodGets the value set by
gtk_entry_set_overwrite_mode()
.Declaration
Swift
@inlinable func getOverwriteMode() -> Bool
-
getPlaceholderText()
Extension methodRetrieves the text that will be displayed when
entry
is empty and unfocusedDeclaration
Swift
@inlinable func getPlaceholderText() -> String!
-
getProgressFraction()
Extension methodReturns the current fraction of the task that’s been completed. See
gtk_entry_set_progress_fraction()
.Declaration
Swift
@inlinable func getProgressFraction() -> Double
-
getProgressPulseStep()
Extension methodRetrieves the pulse step set with
gtk_entry_set_progress_pulse_step()
.Declaration
Swift
@inlinable func getProgressPulseStep() -> Double
-
getTabs()
Extension methodGets the tabstops that were set on the entry using
gtk_entry_set_tabs()
, if any.Declaration
Swift
@inlinable func getTabs() -> Pango.TabArrayRef!
-
getText()
Extension methodRetrieves the contents of the entry widget. See also
gtk_editable_get_chars()
.This is equivalent to getting
entry
‘sGtkEntryBuffer
and callinggtk_entry_buffer_get_text()
on it.Declaration
Swift
@inlinable func getText() -> String!
-
get(textArea:
Extension method) Gets the area where the entry’s text is drawn. This function is useful when drawing something to the entry in a draw callback.
If the entry is not realized,
text_area
is filled with zeros.See also
gtk_entry_get_icon_area()
.Declaration
Swift
@inlinable func get<RectangleT>(textArea: RectangleT) where RectangleT : RectangleProtocol
-
getTextLength()
Extension methodRetrieves the current length of the text in
entry
.This is equivalent to getting
entry
‘sGtkEntryBuffer
and callinggtk_entry_buffer_get_length()
on it.Declaration
Swift
@inlinable func getTextLength() -> guint16
-
getVisibility()
Extension methodRetrieves whether the text in
entry
is visible. Seegtk_entry_set_visibility()
.Declaration
Swift
@inlinable func getVisibility() -> Bool
-
getWidthChars()
Extension methodGets the value set by
gtk_entry_set_width_chars()
.Declaration
Swift
@inlinable func getWidthChars() -> Int
-
grabFocusWithoutSelecting()
Extension methodCauses
entry
to have keyboard focus.It behaves like
gtk_widget_grab_focus()
, except that it doesn’t select the contents of the entry. You only want to call this on some special entries which the user usually doesn’t want to replace all text in, such as search-as-you-type entries.Declaration
Swift
@inlinable func grabFocusWithoutSelecting()
-
imContextFilterKeypress(event:
Extension method) Allow the
GtkEntry
input method to internally handle key press and release events. If this function returnstrue
, then no further processing should be done for this key event. Seegtk_im_context_filter_keypress()
.Note that you are expected to call this function from your handler when overriding key event handling. This is needed in the case when you need to insert your own key handling between the input method and the default key event handling of the
GtkEntry
. Seegtk_text_view_reset_im_context()
for an example of use.Declaration
Swift
@inlinable func imContextFilterKeypress<EventKeyT>(event: EventKeyT) -> Bool where EventKeyT : EventKeyProtocol
-
layoutIndexToTextIndex(layoutIndex:
Extension method) Converts from a position in the entry’s
PangoLayout
(returned bygtk_entry_get_layout()
) to a position in the entry contents (returned bygtk_entry_get_text()
).Declaration
Swift
@inlinable func layoutIndexToTextIndex(layoutIndex: Int) -> Int
-
progressPulse()
Extension methodIndicates that some progress is made, but you don’t know how much. Causes the entry’s progress indicator to enter “activity mode,” where a block bounces back and forth. Each call to
gtk_entry_progress_pulse()
causes the block to move by a little bit (the amount of movement per pulse is determined bygtk_entry_set_progress_pulse_step()
).Declaration
Swift
@inlinable func progressPulse()
-
resetImContext()
Extension methodReset the input method context of the entry if needed.
This can be necessary in the case where modifying the buffer would confuse on-going input method behavior.
Declaration
Swift
@inlinable func resetImContext()
-
setActivatesDefault(setting:
Extension method) If
setting
istrue
, pressing Enter in theentry
will activate the default widget for the window containing the entry. This usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons.(For experts: if
setting
istrue
, the entry callsgtk_window_activate_default()
on the window containing the entry, in the default handler for theGtkEntry::activate
signal.)Declaration
Swift
@inlinable func setActivatesDefault(setting: Bool)
-
setAlignment(xalign:
Extension method) Sets the alignment for the contents of the entry. This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry.
Declaration
Swift
@inlinable func setAlignment(xalign: Double)
-
setAttributes(attrs:
Extension method) Sets a
PangoAttrList
; the attributes in the list are applied to the entry text.Declaration
Swift
@inlinable func setAttributes<AttrListT>(attrs: AttrListT) where AttrListT : AttrListProtocol
-
set(buffer:
Extension method) Set the
GtkEntryBuffer
object which holds the text for this widget.Declaration
Swift
@inlinable func set<EntryBufferT>(buffer: EntryBufferT) where EntryBufferT : EntryBufferProtocol
-
set(completion:
Extension method) Sets
completion
to be the auxiliary completion object to use withentry
. All further configuration of the completion mechanism is done oncompletion
using theGtkEntryCompletion
API. Completion is disabled ifcompletion
is set tonil
.Declaration
Swift
@inlinable func set(completion: EntryCompletionRef? = nil)
-
set(completion:
Extension method) Sets
completion
to be the auxiliary completion object to use withentry
. All further configuration of the completion mechanism is done oncompletion
using theGtkEntryCompletion
API. Completion is disabled ifcompletion
is set tonil
.Declaration
Swift
@inlinable func set<EntryCompletionT>(completion: EntryCompletionT?) where EntryCompletionT : EntryCompletionProtocol
-
setCursorHadjustment(adjustment:
Extension method) Hooks up an adjustment to the cursor position in an entry, so that when the cursor is moved, the adjustment is scrolled to show that position. See
gtk_scrolled_window_get_hadjustment()
for a typical way of obtaining the adjustment.The adjustment has to be in pixel units and in the same coordinate system as the entry.
Declaration
Swift
@inlinable func setCursorHadjustment(adjustment: AdjustmentRef? = nil)
-
setCursorHadjustment(adjustment:
Extension method) Hooks up an adjustment to the cursor position in an entry, so that when the cursor is moved, the adjustment is scrolled to show that position. See
gtk_scrolled_window_get_hadjustment()
for a typical way of obtaining the adjustment.The adjustment has to be in pixel units and in the same coordinate system as the entry.
Declaration
Swift
@inlinable func setCursorHadjustment<AdjustmentT>(adjustment: AdjustmentT?) where AdjustmentT : AdjustmentProtocol
-
setHasFrame(setting:
Extension method) Sets whether the entry has a beveled frame around it.
Declaration
Swift
@inlinable func setHasFrame(setting: Bool)
-
setIconActivatable(iconPos:
Extension methodactivatable: ) Sets whether the icon is activatable.
Declaration
Swift
@inlinable func setIconActivatable(iconPos: GtkEntryIconPosition, activatable: Bool)
-
setIconDragSource(iconPos:
Extension methodtargetList: actions: ) Sets up the icon at the given position so that GTK+ will start a drag operation when the user clicks and drags the icon.
To handle the drag operation, you need to connect to the usual
GtkWidget::drag-data-get
(or possiblyGtkWidget::drag-data-delete
) signal, and usegtk_entry_get_current_icon_drag_source()
in your signal handler to find out if the drag was started from an icon.By default, GTK+ uses the icon as the drag icon. You can use the
GtkWidget::drag-begin
signal to set a different icon. Note that you have to useg_signal_connect_after()
to ensure that your signal handler gets executed after the default handler.Declaration
Swift
@inlinable func setIconDragSource<TargetListT>(iconPos: GtkEntryIconPosition, targetList: TargetListT, actions: Gdk.DragAction) where TargetListT : TargetListProtocol
-
setIconFromIcon(iconPos:
Extension methodicon: ) Sets the icon shown in the entry at the specified position from the current icon theme. If the icon isn’t known, a “broken image” icon will be displayed instead.
If
icon
isnil
, no icon will be shown in the specified position.Declaration
Swift
@inlinable func setIconFromIcon(iconPos: GtkEntryIconPosition, icon: GIO.IconRef? = nil)
-
setIconFromIcon(iconPos:
Extension methodicon: ) Sets the icon shown in the entry at the specified position from the current icon theme. If the icon isn’t known, a “broken image” icon will be displayed instead.
If
icon
isnil
, no icon will be shown in the specified position.Declaration
Swift
@inlinable func setIconFromIcon<IconT>(iconPos: GtkEntryIconPosition, icon: IconT?) where IconT : IconProtocol
-
setIconFromIconName(iconPos:
Extension methodiconName: ) Sets the icon shown in the entry at the specified position from the current icon theme.
If the icon name isn’t known, a “broken image” icon will be displayed instead.
If
icon_name
isnil
, no icon will be shown in the specified position.Declaration
Swift
@inlinable func setIconFromIconName(iconPos: GtkEntryIconPosition, iconName: UnsafePointer<gchar>? = nil)
-
setIconFromPixbuf(iconPos:
Extension methodpixbuf: ) Sets the icon shown in the specified position using a pixbuf.
If
pixbuf
isnil
, no icon will be shown in the specified position.Declaration
Swift
@inlinable func setIconFromPixbuf(iconPos: GtkEntryIconPosition, pixbuf: PixbufRef? = nil)
-
setIconFromPixbuf(iconPos:
Extension methodpixbuf: ) Sets the icon shown in the specified position using a pixbuf.
If
pixbuf
isnil
, no icon will be shown in the specified position.Declaration
Swift
@inlinable func setIconFromPixbuf<PixbufT>(iconPos: GtkEntryIconPosition, pixbuf: PixbufT?) where PixbufT : PixbufProtocol
-
setIconFromStock(iconPos:
Extension methodstockID: ) Sets the icon shown in the entry at the specified position from a stock image.
If
stock_id
isnil
, no icon will be shown in the specified position.set_icon_from_stock is deprecated: Use gtk_entry_set_icon_from_icon_name() instead.
Declaration
Swift
@available(*, deprecated) @inlinable func setIconFromStock(iconPos: GtkEntryIconPosition, stockID: UnsafePointer<gchar>? = nil)
-
setIconSensitive(iconPos:
Extension methodsensitive: ) Sets the sensitivity for the specified icon.
Declaration
Swift
@inlinable func setIconSensitive(iconPos: GtkEntryIconPosition, sensitive: Bool)
-
setIconTooltipMarkup(iconPos:
Extension methodtooltip: ) Sets
tooltip
as the contents of the tooltip for the icon at the specified position.tooltip
is assumed to be marked up with the Pango text markup language.Use
nil
fortooltip
to remove an existing tooltip.See also
gtk_widget_set_tooltip_markup()
andgtk_entry_set_icon_tooltip_text()
.Declaration
Swift
@inlinable func setIconTooltipMarkup(iconPos: GtkEntryIconPosition, tooltip: UnsafePointer<gchar>? = nil)
-
setIconTooltipText(iconPos:
Extension methodtooltip: ) Sets
tooltip
as the contents of the tooltip for the icon at the specified position.Use
nil
fortooltip
to remove an existing tooltip.See also
gtk_widget_set_tooltip_text()
andgtk_entry_set_icon_tooltip_markup()
.If you unset the widget tooltip via
gtk_widget_set_tooltip_text()
orgtk_widget_set_tooltip_markup()
, this sets GtkWidget:has-tooltip tofalse
, which suppresses icon tooltips too. You can resolve this by then callinggtk_widget_set_has_tooltip()
to set GtkWidget:has-tooltip back totrue
, or setting at least one non-empty tooltip on any icon achieves the same result.Declaration
Swift
@inlinable func setIconTooltipText(iconPos: GtkEntryIconPosition, tooltip: UnsafePointer<gchar>? = nil)
-
setInner(border:
Extension method) Sets
entry
’s inner-border property toborder
, or clears it ifnil
is passed. The inner-border is the area around the entry’s text, but inside its frame.If set, this property overrides the inner-border style property. Overriding the style-provided border is useful when you want to do in-place editing of some text in a canvas or list widget, where pixel-exact positioning of the entry is important.
set_inner_border is deprecated: Use the standard border and padding CSS properties (through objects like #GtkStyleContext and #GtkCssProvider); the value set with this function is ignored by #GtkEntry.
Declaration
Swift
@available(*, deprecated) @inlinable func setInner(border: BorderRef? = nil)
-
setInner(border:
Extension method) Sets
entry
’s inner-border property toborder
, or clears it ifnil
is passed. The inner-border is the area around the entry’s text, but inside its frame.If set, this property overrides the inner-border style property. Overriding the style-provided border is useful when you want to do in-place editing of some text in a canvas or list widget, where pixel-exact positioning of the entry is important.
set_inner_border is deprecated: Use the standard border and padding CSS properties (through objects like #GtkStyleContext and #GtkCssProvider); the value set with this function is ignored by #GtkEntry.
Declaration
Swift
@available(*, deprecated) @inlinable func setInner<BorderT>(border: BorderT?) where BorderT : BorderProtocol
-
setInput(hints:
Extension method) Sets the
GtkEntry:input-hints
property, which allows input methods to fine-tune their behaviour.Declaration
Swift
@inlinable func setInput(hints: InputHints)
-
setInput(purpose:
Extension method) Sets the
GtkEntry:input-purpose
property which can be used by on-screen keyboards and other input methods to adjust their behaviour.Declaration
Swift
@inlinable func setInput(purpose: GtkInputPurpose)
-
setInvisibleChar(ch:
Extension method) Sets the character to use in place of the actual text when
gtk_entry_set_visibility()
has been called to set text visibility tofalse
. i.e. this is the character used in “password mode” to show the user how many characters have been typed. By default, GTK+ picks the best invisible char available in the current font. If you set the invisible char to 0, then the user will get no feedback at all; there will be no text on the screen as they type.Declaration
Swift
@inlinable func setInvisibleChar(ch: gunichar)
-
setMaxLength(max:
Extension method) Sets the maximum allowed length of the contents of the widget. If the current contents are longer than the given length, then they will be truncated to fit.
This is equivalent to getting
entry
‘sGtkEntryBuffer
and callinggtk_entry_buffer_set_max_length()
on it. ]|Declaration
Swift
@inlinable func setMaxLength(max: Int)
-
setMaxWidthChars(nChars:
Extension method) Sets the desired maximum width in characters of
entry
.Declaration
Swift
@inlinable func setMaxWidthChars(nChars: Int)
-
setOverwriteMode(overwrite:
Extension method) Sets whether the text is overwritten when typing in the
GtkEntry
.Declaration
Swift
@inlinable func setOverwriteMode(overwrite: Bool)
-
setPlaceholder(text:
Extension method) Sets text to be displayed in
entry
when it is empty and unfocused. This can be used to give a visual hint of the expected contents of theGtkEntry
.Note that since the placeholder text gets removed when the entry received focus, using this feature is a bit problematic if the entry is given the initial focus in a window. Sometimes this can be worked around by delaying the initial focus setting until the first key event arrives.
Declaration
Swift
@inlinable func setPlaceholder(text: UnsafePointer<gchar>? = nil)
-
setProgress(fraction:
Extension method) Causes the entry’s progress indicator to “fill in” the given fraction of the bar. The fraction should be between 0.0 and 1.0, inclusive.
Declaration
Swift
@inlinable func setProgress(fraction: Double)
-
setProgressPulseStep(fraction:
Extension method) Sets the fraction of total entry width to move the progress bouncing block for each call to
gtk_entry_progress_pulse()
.Declaration
Swift
@inlinable func setProgressPulseStep(fraction: Double)
-
set(tabs:
Extension method) Sets a
PangoTabArray
; the tabstops in the array are applied to the entry text.Declaration
Swift
@inlinable func set<TabArrayT>(tabs: TabArrayT) where TabArrayT : TabArrayProtocol
-
set(text:
Extension method) Sets the text in the widget to the given value, replacing the current contents.
See
gtk_entry_buffer_set_text()
.Declaration
Swift
@inlinable func set(text: UnsafePointer<gchar>!)
-
setVisibility(visible:
Extension method) Sets whether the contents of the entry are visible or not. When visibility is set to
false
, characters are displayed as the invisible char, and will also appear that way when the text in the entry widget is copied elsewhere.By default, GTK+ picks the best invisible character available in the current font, but it can be changed with
gtk_entry_set_invisible_char()
.Note that you probably want to set
GtkEntry:input-purpose
toGTK_INPUT_PURPOSE_PASSWORD
orGTK_INPUT_PURPOSE_PIN
to inform input methods about the purpose of this entry, in addition to setting visibility tofalse
.Declaration
Swift
@inlinable func setVisibility(visible: Bool)
-
setWidthChars(nChars:
Extension method) Changes the size request of the entry to be about the right size for
n_chars
characters. Note that it changes the size request, the size can still be affected by how you pack the widget into containers. Ifn_chars
is -1, the size reverts to the default entry size.Declaration
Swift
@inlinable func setWidthChars(nChars: Int)
-
textIndexToLayoutIndex(textIndex:
Extension method) Converts from a position in the entry contents (returned by
gtk_entry_get_text()
) to a position in the entry’sPangoLayout
(returned bygtk_entry_get_layout()
, with text retrieved viapango_layout_get_text()
).Declaration
Swift
@inlinable func textIndexToLayoutIndex(textIndex: Int) -> Int
-
unsetInvisibleChar()
Extension methodUnsets the invisible char previously set with
gtk_entry_set_invisible_char()
. So that the default invisible char is used again.Declaration
Swift
@inlinable func unsetInvisibleChar()
-
activatesDefault
Extension methodRetrieves the value set by
gtk_entry_set_activates_default()
.Declaration
Swift
@inlinable var activatesDefault: Bool { get nonmutating set }
-
alignment
Extension methodGets the value set by
gtk_entry_set_alignment()
.Declaration
Swift
@inlinable var alignment: Double { get nonmutating set }
-
attributes
Extension methodA list of Pango attributes to apply to the text of the entry.
This is mainly useful to change the size or weight of the text.
The
PangoAttribute
‘sstart_index
andend_index
must refer to theGtkEntryBuffer
text, i.e. without the preedit string.Declaration
Swift
@inlinable var attributes: Pango.AttrListRef! { get nonmutating set }
-
buffer
Extension methodUndocumented
Declaration
Swift
@inlinable var buffer: EntryBufferRef! { get nonmutating set }
-
completion
Extension methodThe auxiliary completion object to use with the entry.
Declaration
Swift
@inlinable var completion: EntryCompletionRef! { get nonmutating set }
-
currentIconDragSource
Extension methodReturns the index of the icon which is the source of the current DND operation, or -1.
This function is meant to be used in a
GtkWidget::drag-data-get
callback.Declaration
Swift
@inlinable var currentIconDragSource: Int { get }
-
cursorHadjustment
Extension methodRetrieves the horizontal cursor adjustment for the entry. See
gtk_entry_set_cursor_hadjustment()
.Declaration
Swift
@inlinable var cursorHadjustment: AdjustmentRef! { get nonmutating set }
-
hasFrame
Extension methodGets the value set by
gtk_entry_set_has_frame()
.Declaration
Swift
@inlinable var hasFrame: Bool { get nonmutating set }
-
innerBorder
Extension methodThis function returns the entry’s
GtkEntry:inner-border
property. Seegtk_entry_set_inner_border()
for more information.get_inner_border is deprecated: Use the standard border and padding CSS properties (through objects like #GtkStyleContext and #GtkCssProvider); the value returned by this function is ignored by #GtkEntry.
Declaration
Swift
@inlinable var innerBorder: BorderRef! { get nonmutating set }
-
inputHints
Extension methodGets the value of the
GtkEntry:input-hints
property.Declaration
Swift
@inlinable var inputHints: InputHints { get nonmutating set }
-
inputPurpose
Extension methodGets the value of the
GtkEntry:input-purpose
property.Declaration
Swift
@inlinable var inputPurpose: GtkInputPurpose { get nonmutating set }
-
invisibleChar
Extension methodRetrieves the character displayed in place of the real characters for entries with visibility set to false. See
gtk_entry_set_invisible_char()
.Declaration
Swift
@inlinable var invisibleChar: gunichar { get nonmutating set }
-
layout
Extension methodGets the
PangoLayout
used to display the entry. The layout is useful to e.g. convert text positions to pixel positions, in combination withgtk_entry_get_layout_offsets()
. The returned layout is owned by the entry and must not be modified or freed by the caller.Keep in mind that the layout text may contain a preedit string, so
gtk_entry_layout_index_to_text_index()
andgtk_entry_text_index_to_layout_index()
are needed to convert byte indices in the layout to byte indices in the entry contents.Declaration
Swift
@inlinable var layout: Pango.LayoutRef! { get }
-
maxLength
Extension methodRetrieves the maximum allowed length of the text in
entry
. Seegtk_entry_set_max_length()
.This is equivalent to getting
entry
‘sGtkEntryBuffer
and callinggtk_entry_buffer_get_max_length()
on it.Declaration
Swift
@inlinable var maxLength: Int { get nonmutating set }
-
maxWidthChars
Extension methodRetrieves the desired maximum width of
entry
, in characters. Seegtk_entry_set_max_width_chars()
.Declaration
Swift
@inlinable var maxWidthChars: Int { get nonmutating set }
-
overwriteMode
Extension methodGets the value set by
gtk_entry_set_overwrite_mode()
.Declaration
Swift
@inlinable var overwriteMode: Bool { get nonmutating set }
-
placeholderText
Extension methodRetrieves the text that will be displayed when
entry
is empty and unfocusedDeclaration
Swift
@inlinable var placeholderText: String! { get nonmutating set }
-
progressFraction
Extension methodReturns the current fraction of the task that’s been completed. See
gtk_entry_set_progress_fraction()
.Declaration
Swift
@inlinable var progressFraction: Double { get nonmutating set }
-
progressPulseStep
Extension methodRetrieves the pulse step set with
gtk_entry_set_progress_pulse_step()
.Declaration
Swift
@inlinable var progressPulseStep: Double { get nonmutating set }
-
tabs
Extension methodUndocumented
Declaration
Swift
@inlinable var tabs: Pango.TabArrayRef! { get nonmutating set }
-
text
Extension methodUndocumented
Declaration
Swift
@inlinable var text: String! { get nonmutating set }
-
textLength
Extension methodRetrieves the current length of the text in
entry
.This is equivalent to getting
entry
‘sGtkEntryBuffer
and callinggtk_entry_buffer_get_length()
on it.Declaration
Swift
@inlinable var textLength: guint16 { get }
-
visibility
Extension methodUndocumented
Declaration
Swift
@inlinable var visibility: Bool { get nonmutating set }
-
widthChars
Extension methodGets the value set by
gtk_entry_set_width_chars()
.Declaration
Swift
@inlinable var widthChars: Int { get nonmutating set }