Gimp.context_swap_colors

@returns(bool)
def context_swap_colors():
    # Python wrapper for gimp_context_swap_colors()
  

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.

Since 2.2

Returns