Function

Gtk-3.0Gtkicon_size_registerDeprecated 3.10

  • Registers a new icon size, along the same lines as #GTK_ICON_SIZE_MENU, etc. Returns the integer value for the size.

    Parameters

    • Deprecatedname: string

      name of the icon size

    • Deprecatedwidth: number

      the icon width

    • Deprecatedheight: number

      the icon height

    Returns number

    integer value representing the size (Gtk.IconSize)

    since 3.10: Use Gtk.IconTheme instead.