definition module Gtk.Tune /** * This module provides a class and useful infix operators for 'tuning' things. * Tuning involves modifying an existing element, typically a widget. A single * `tune` class avoids the need for a variety of `set...` functions. */ from Gtk.State import :: GtkM //* Modify `elem` with `option`. class tune elem option :: !option !elem -> GtkM elem /** * Infix operator to tune something, typically used when creating the element. * For example: `newTextView <<@ Insensitive >>= \text_view -> ...`. */ (<<@) infixl 2 :: !(GtkM elem) !option -> GtkM elem | tune elem option