CellRendererSpinnerSignalName

public enum CellRendererSpinnerSignalName : 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 a GtkEntryCompletion or setting up additional columns in a GtkComboBox.

    See gtk_cell_editable_start_editing() for information on the lifecycle of the editable and a way to do setup that doesn’t depend on the renderer.

    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 to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_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 notifyActive = "notify::active"
  • 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 notifyIsExpanded = "notify::is-expanded"
  • Undocumented

    Declaration

    Swift

    case notifyIsExpander = "notify::is-expander"
  • Undocumented

    Declaration

    Swift

    case notifyMode = "notify::mode"
  • Pulse of the spinner. Increment this value to draw the next frame of the spinner animation. Usually, you would update this value in a timeout.

    By default, the GtkSpinner widget draws one full cycle of the animation, consisting of 12 frames, in 750 milliseconds.

    Declaration

    Swift

    case notifyPulse = "notify::pulse"
  • Undocumented

    Declaration

    Swift

    case notifySensitive = "notify::sensitive"
  • The GtkIconSize value that specifies the size of the rendered spinner.

    Declaration

    Swift

    case notifySize = "notify::size"
  • 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"