Gimp.context_swap_colors
Description: Reference for Gimp.context_swap_colors

### Function

# Gimpcontext_swap_colors

since: 2.2

#### Declaration [src]

    gboolean
    gimp_context_swap_colors (
      void
    )

#### Description [src]

Swap the current GIMP foreground and background colors.

Swaps the current GIMP foreground and background colors, so that the new foreground color becomes the old background color and vice versa.

Available since: 2.2

#### Return value

Type: `gboolean`

TRUE on success.