CellRendererProgressSignalName
public enum CellRendererProgressSignalName : String, SignalNameProtocol
Undocumented
-
This signal gets emitted when the user cancels the process of editing a cell. For example, an editable cell renderer could be written to cancel editing when the user presses Escape.
See also:
gtk_cell_renderer_stop_editing()
.Declaration
Swift
case editingCanceled = "editing-canceled"
-
This signal gets emitted when a cell starts to be edited. The intended use of this signal is to do special setup on
editable
, e.g. adding aGtkEntryCompletion
or setting up additional columns in aGtkComboBox
.See
gtk_cell_editable_start_editing()
for information on the lifecycle of theeditable
and a way to do setup that doesn’t depend on therenderer
.Note that GTK+ doesn’t guarantee that cell renderers will continue to use the same kind of widget for editing in future releases, therefore you should check the type of
editable
before doing any specific setup, as in the following example: (C Language Example):static void text_editing_started (GtkCellRenderer *cell, GtkCellEditable *editable, const gchar *path, gpointer data) { if (GTK_IS_ENTRY (editable)) { GtkEntry *entry = GTK_ENTRY (editable); // ... create a GtkEntryCompletion gtk_entry_set_completion (entry, completion); } }
Declaration
Swift
case editingStarted = "editing-started"
-
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.
Declaration
Swift
case notify = "notify"
-
Undocumented
Declaration
Swift
case notifyCellBackground = "notify::cell-background"
-
Cell background as a
GdkColor
cell-background-gdk is deprecated: Use #GtkCellRenderer:cell-background-rgba instead.
Declaration
Swift
case notifyCellBackgroundGdk = "notify::cell-background-gdk"
-
Cell background as a
GdkRGBA
Declaration
Swift
case notifyCellBackgroundRGBA = "notify::cell-background-rgba"
-
Undocumented
Declaration
Swift
case notifyCellBackgroundSet = "notify::cell-background-set"
-
Undocumented
Declaration
Swift
case notifyEditing = "notify::editing"
-
Undocumented
Declaration
Swift
case notifyHeight = "notify::height"
-
Undocumented
Declaration
Swift
case notifyInverted = "notify::inverted"
-
Undocumented
Declaration
Swift
case notifyIsExpanded = "notify::is-expanded"
-
Undocumented
Declaration
Swift
case notifyIsExpander = "notify::is-expander"
-
Undocumented
Declaration
Swift
case notifyMode = "notify::mode"
-
Setting this to a non-negative value causes the cell renderer to enter “activity mode”, where a block bounces back and forth to indicate that some progress is made, without specifying exactly how much.
Each increment of the property causes the block to move by a little bit.
To indicate that the activity has not started yet, set the property to zero. To indicate completion, set the property to
G_MAXINT
.Declaration
Swift
case notifyPulse = "notify::pulse"
-
Undocumented
Declaration
Swift
case notifySensitive = "notify::sensitive"
-
The “text” property determines the label which will be drawn over the progress bar. Setting this property to
nil
causes the default label to be displayed. Setting this property to an empty string causes no label to be displayed.Declaration
Swift
case notifyText = "notify::text"
-
The “text-xalign” property controls the horizontal alignment of the text in the progress bar. Valid values range from 0 (left) to 1 (right). Reserved for RTL layouts.
Declaration
Swift
case notifyTextXalign = "notify::text-xalign"
-
The “text-yalign” property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
Declaration
Swift
case notifyTextYalign = "notify::text-yalign"
-
The “value” property determines the percentage to which the progress bar will be “filled in”.
Declaration
Swift
case notifyValue = "notify::value"
-
Undocumented
Declaration
Swift
case notifyVisible = "notify::visible"
-
Undocumented
Declaration
Swift
case notifyWidth = "notify::width"
-
Undocumented
Declaration
Swift
case notifyXalign = "notify::xalign"
-
Undocumented
Declaration
Swift
case notifyXpad = "notify::xpad"
-
Undocumented
Declaration
Swift
case notifyYalign = "notify::yalign"
-
Undocumented
Declaration
Swift
case notifyYpad = "notify::ypad"