IconThemeSignalName

public enum IconThemeSignalName : String, SignalNameProtocol

Undocumented

  • Emitted when the icon theme changes.

    This can happen becuase current icon theme is switched or because GTK detects that a change has occurred in the contents of the current icon theme.

    Declaration

    Swift

    case changed = "changed"
  • 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"
  • The display that this icon theme object is attached to.

    Declaration

    Swift

    case notifyDisplay = "notify::display"
  • The icon names that are supported by the icon theme.

    Declaration

    Swift

    case notifyIconNames = "notify::icon-names"
  • Resource paths that will be looked at when looking for icons, similar to search paths.

    The resources are considered as part of the hicolor icon theme and must be located in subdirectories that are defined in the hicolor icon theme, such as `path/16x16/actions/run.png`. Icons that are directly placed in the resource path instead of a subdirectory are also considered as ultimate fallback.

    Declaration

    Swift

    case notifyResourcePath = "notify::resource-path"
  • The search path for this icon theme.

    When looking for icons, GTK will search for a subdirectory of one or more of the directories in the search path with the same name as the icon theme containing an index.theme file. (Themes from multiple of the path elements are combined to allow themes to be extended by adding icons in the user’s home directory.)

    Declaration

    Swift

    case notifySearchPath = "notify::search-path"
  • The name of the icon theme that is being used.

    Unless set to a different value, this will be the value of the GtkSettings:gtk-icon-theme-name property of the GtkSettings object associated to the display of the icontheme object.

    Declaration

    Swift

    case notifyThemeName = "notify::theme-name"