def select_indexes(self, indexes, flags=QItemSelectionModel.Select | QItemSelectionModel.Rows):
        """
        Selects given indexes.

        :param indexes: Indexes to select.
        :type indexes: list
        :param flags: Selection flags. ( QItemSelectionModel.SelectionFlags )
        :return: Method success.
        :rtype: bool
        """

        return self.select_view_indexes(indexes, flags)
def select_indexes ( self , indexes , flags = QItemSelectionModel . Select | QItemSelectionModel . Rows ) : return self . select_view_indexes ( indexes , flags )
Selects given indexes.

        :param indexes: Indexes to select.
        :type indexes: list
        :param flags: Selection flags. ( QItemSelectionModel.SelectionFlags )
        :return: Method success.
        :rtype: bool