Set the visibility of the preedit of an IMContext.
Referenced by scim_bridge_client_imcontext_connection_closed(), and scim_bridge_client_imcontext_imengine_status_changed().