Gtk.PrintOperation:has-selection

"has-selection"             Boolean                : Read / Write

Determines whether there is a selection in your application. This can allow your application to print the selection. This is typically used to make a "Selection" button sensitive.

Since 2.18